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:
bors 2019-05-21 16:52:26 +00:00
commit 0b52da1c71

View File

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