Auto merge of #1353 - sameo:topic/musl-seek, r=gnzlbg
linux/musl: Add SEEK_HOLE and SEEK_DATA constants They are defined since Linux 3.1 but not in musl yet. Signed-off-by: Samuel Ortiz <sameo@linux.intel.com>
This commit is contained in:
commit
0b52da1c71
@ -279,6 +279,9 @@ pub const PTRACE_PEEKSIGINFO: ::c_int = 0x4209;
|
||||
|
||||
pub const EPOLLWAKEUP: ::c_int = 0x20000000;
|
||||
|
||||
pub const SEEK_DATA: ::c_int = 3;
|
||||
pub const SEEK_HOLE: ::c_int = 4;
|
||||
|
||||
pub const EFD_NONBLOCK: ::c_int = ::O_NONBLOCK;
|
||||
|
||||
pub const SFD_NONBLOCK: ::c_int = ::O_NONBLOCK;
|
||||
|
Loading…
Reference in New Issue
Block a user