Auto merge of #965 - cmbrandenburg:fcntl_file_lock, r=alexcrichton
Add flock type value definitions for Linux/other/x86_64
This commit is contained in:
commit
c202081a51
|
@ -427,6 +427,10 @@ pub const F_SETOWN: ::c_int = 8;
|
|||
pub const F_SETLK: ::c_int = 6;
|
||||
pub const F_SETLKW: ::c_int = 7;
|
||||
|
||||
pub const F_RDLCK: ::c_int = 0;
|
||||
pub const F_WRLCK: ::c_int = 1;
|
||||
pub const F_UNLCK: ::c_int = 2;
|
||||
|
||||
pub const SFD_NONBLOCK: ::c_int = 0x0800;
|
||||
|
||||
pub const TIOCEXCL: ::c_ulong = 0x540C;
|
||||
|
|
Loading…
Reference in a new issue