Skip to content
Snippets Groups Projects
Commit 5c31597f authored by Samuel Ortiz's avatar Samuel Ortiz
Browse files

linux/musl: Add SEEK_HOLE and SEEK_DATA constants


They are defined since Linux 3.1 but not in musl yet.

Signed-off-by: default avatarSamuel Ortiz <sameo@linux.intel.com>
parent caf17a06
No related branches found
No related tags found
No related merge requests found
......@@ -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;
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment