File tree Expand file tree Collapse file tree 3 files changed +6
-3
lines changed Expand file tree Collapse file tree 3 files changed +6
-3
lines changed Original file line number Diff line number Diff line change @@ -65,3 +65,6 @@ pub const KERN_PROC_PATHNAME: ::c_int = 9;
65
65
pub const SIGSTKSZ : :: size_t = 40960 ;
66
66
pub const MADV_INVAL : :: c_int = 10 ;
67
67
pub const O_CLOEXEC : :: c_int = 0x00020000 ;
68
+ pub const F_GETLK : :: c_int = 7 ;
69
+ pub const F_SETLK : :: c_int = 8 ;
70
+ pub const F_SETLKW : :: c_int = 9 ;
Original file line number Diff line number Diff line change @@ -50,6 +50,9 @@ pub const SF_NODISKIO: ::c_int = 0x00000001;
50
50
pub const SF_MNOWAIT : :: c_int = 0x00000002 ;
51
51
pub const SF_SYNC : :: c_int = 0x00000004 ;
52
52
pub const O_CLOEXEC : :: c_int = 0x00100000 ;
53
+ pub const F_GETLK : :: c_int = 11 ;
54
+ pub const F_SETLK : :: c_int = 12 ;
55
+ pub const F_SETLKW : :: c_int = 13 ;
53
56
54
57
extern {
55
58
pub fn __error ( ) -> * mut :: c_int ;
Original file line number Diff line number Diff line change @@ -182,9 +182,6 @@ pub const F_TEST: ::c_int = 3;
182
182
pub const F_TLOCK : :: c_int = 2 ;
183
183
pub const F_ULOCK : :: c_int = 0 ;
184
184
pub const F_DUPFD_CLOEXEC : :: c_int = 17 ;
185
- pub const F_GETLK : :: c_int = 11 ;
186
- pub const F_SETLK : :: c_int = 12 ;
187
- pub const F_SETLKW : :: c_int = 13 ;
188
185
pub const SIGHUP : :: c_int = 1 ;
189
186
pub const SIGINT : :: c_int = 2 ;
190
187
pub const SIGQUIT : :: c_int = 3 ;
You can’t perform that action at this time.
0 commit comments