We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 9c17271 commit dd06d7eCopy full SHA for dd06d7e
src/sys/mman.rs
@@ -404,6 +404,7 @@ pub fn mlockall(flags: MlockAllFlags) -> Result<()> {
404
/// For more information, see [`munlockall(2)`].
405
///
406
/// [`munlockall(2)`]: https://man7.org/linux/man-pages/man2/munlockall.2.html
407
+#[cfg(not(target_os = "haiku"))]
408
pub fn munlockall() -> Result<()> {
409
unsafe { Errno::result(libc::munlockall()) }.map(drop)
410
}
0 commit comments