MCPcopy Create free account
hub / github.com/bytecodealliance/rustix / futimens

Function futimens

src/fs/fd.rs:215–217  ·  view source on GitHub ↗
(fd: Fd, times: &Timestamps)

Source from the content-addressed store, hash-verified

213#[cfg(not(any(target_os = "espidf", target_os = "horizon", target_os = "vita")))]
214#[inline]
215pub fn futimens<Fd: AsFd>(fd: Fd, times: &Timestamps) -> io::Result<()> {
216 backend::fs::syscalls::futimens(fd.as_fd(), times)
217}
218
219/// `fallocate(fd, mode, offset, len)`—Adjusts file allocation.
220///

Callers 4

test_futimensFunction · 0.50
negative_file_timestampFunction · 0.50
test_y2038_with_futimensFunction · 0.50

Calls 1

as_fdMethod · 0.45

Tested by 4

test_futimensFunction · 0.40
negative_file_timestampFunction · 0.40
test_y2038_with_futimensFunction · 0.40