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:
bors 2018-04-08 17:09:06 +00:00
commit c202081a51

View file

@ -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;