Skip to main content

futimens

Function futimens 

Source
pub fn futimens(
    fd: BorrowedFd<'_>,
    atime: UtimeValue,
    mtime: UtimeValue,
) -> Result<(), Errno>
Expand description

Modifie les horodatages d’accès/modification d’un fichier par descripteur (utimensat(fd, NULL, …)) — descellement additif ADR-085 pour la face libc (int futimens(int, const struct timespec[2])). Complète utimensat (dont la variante couche 0 exige un &CStr, jamais NULL).