diff --git a/src/unix/mod.rs b/src/unix/mod.rs index 6d3ef9443c621e64d074f39ad6ca3e2963f48532..eb851abf42f65b08172e0cd043493c554da2a6e2 100644 --- a/src/unix/mod.rs +++ b/src/unix/mod.rs @@ -1447,6 +1447,12 @@ extern "C" { n: *mut size_t, stream: *mut FILE, ) -> ssize_t; + + pub fn lockf( + fd: ::c_int, + cmd: ::c_int, + len: ::off_t, + ) -> ::c_int; } cfg_if! {