Skip to content
Snippets Groups Projects
Commit 0b52da1c authored by bors's avatar bors
Browse files

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: default avatarSamuel Ortiz <sameo@linux.intel.com>
parents caf17a06 5c31597f
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