Skip to content

Commit 5a2297e

Browse files
committed
redox adding lockf flags
1 parent 586541b commit 5a2297e

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

src/unix/redox/mod.rs

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -278,6 +278,10 @@ pub const PATH_MAX: ::c_int = 4096;
278278
pub const F_GETLK: ::c_int = 5;
279279
pub const F_SETLK: ::c_int = 6;
280280
pub const F_SETLKW: ::c_int = 7;
281+
pub const F_ULOCK: ::c_int = 0;
282+
pub const F_LOCK: ::c_int = 1;
283+
pub const F_TLOCK: ::c_int = 2;
284+
pub const F_TEST: ::c_int = 3;
281285

282286
// FIXME: relibc {
283287
pub const RTLD_DEFAULT: *mut ::c_void = 0i64 as *mut ::c_void;

0 commit comments

Comments
 (0)