Adding UTIME_NOW and UTIME_OMIT to musl and dragonfly
This commit is contained in:
parent
7e2f12f8ac
commit
15d1047541
@ -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;
|
||||
|
Loading…
x
Reference in New Issue
Block a user