Skip to content
Snippets Groups Projects
Commit 15d10475 authored by Luke Petre's avatar Luke Petre
Browse files

Adding UTIME_NOW and UTIME_OMIT to musl and dragonfly

parent 7e2f12f8
No related branches found
No related tags found
No related merge requests found
......@@ -1002,6 +1002,10 @@ pub const SF_NOHISTORY: ::c_ulong = 0x00400000;
pub const SF_CACHE: ::c_ulong = 0x00800000;
pub const SF_XLINK: ::c_ulong = 0x01000000;
// timespec constants
pub const UTIME_OMIT: c_long = -2;
pub const UTIME_NOW: c_long = -1;
fn _CMSG_ALIGN(n: usize) -> usize {
(n + 3) & !3
}
......
......@@ -370,6 +370,9 @@ pub const RLIMIT_MSGQUEUE: ::c_int = 12;
pub const RLIMIT_NICE: ::c_int = 13;
pub const RLIMIT_RTPRIO: ::c_int = 14;
pub const UTIME_OMIT: c_long = 1073741822;
pub const UTIME_NOW: c_long = 1073741823;
extern {
pub fn sendmmsg(sockfd: ::c_int, msgvec: *mut ::mmsghdr, vlen: ::c_uint,
flags: ::c_uint) -> ::c_int;
......
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