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.
utimensat
flags
1 parent c668d7e commit 071d0fcCopy full SHA for 071d0fc
c-scape/src/fs/utime.rs
@@ -56,12 +56,12 @@ unsafe extern "C" fn utimensat(
56
fd: c_int,
57
path: *const c_char,
58
times: *const libc::timespec,
59
- flag: c_int,
+ flags: c_int,
60
) -> c_int {
61
- libc!(libc::utimensat(fd, path, times, flag));
+ libc!(libc::utimensat(fd, path, times, flags));
62
63
let times = times.cast::<[libc::timespec; 2]>();
64
- let flags = AtFlags::from_bits(flag as _).unwrap();
+ let flags = AtFlags::from_bits(flags as _).unwrap();
65
66
match convert_res(rustix::fs::utimensat(
67
BorrowedFd::borrow_raw(fd),
0 commit comments