We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents ba516ff + f5885ee commit c01ec7eCopy full SHA for c01ec7e
src/unix/notbsd/mod.rs
@@ -548,6 +548,9 @@ pub const POSIX_FADV_WILLNEED: ::c_int = 3;
548
pub const POSIX_FADV_DONTNEED: ::c_int = 4;
549
pub const POSIX_FADV_NOREUSE: ::c_int = 5;
550
551
+pub const AT_FDCWD: ::c_int = -100;
552
+pub const AT_SYMLINK_NOFOLLOW: ::c_int = 0x100;
553
+
554
f! {
555
pub fn FD_CLR(fd: ::c_int, set: *mut fd_set) -> () {
556
let fd = fd as usize;
@@ -664,6 +667,8 @@ extern {
664
667
pub fn posix_fadvise(fd: ::c_int, offset: ::off_t, len: ::off_t,
665
668
advise: ::c_int) -> ::c_int;
666
669
pub fn futimens(fd: ::c_int, times: *const ::timespec) -> ::c_int;
670
+ pub fn utimensat(dirfd: ::c_int, path: *const ::c_char,
671
+ times: *const ::timespec, flag: ::c_int) -> ::c_int;
672
}
673
674
cfg_if! {
0 commit comments