UTIME(2)

NAME
utime - change access and/or modification times of an inode.

SYNOPSIS
#include <utime.h>
#include <unistd.h>
int utime (const char *filename, struct utimbuf *buf);

DESCRIPTION
utime() changes the accessed and mod times of the inode referencing filename to the actime and modtime fields of *buf respectively. Note that ctime cannot be set back. 0 is returned on success, a negative value on failure.

ERRORS
-ENOENT is returned when filename does not exist.

FILES
linux/fs/open.c
/usr/include/linux/sys.h
/usr/include/unistd.h

SEE ALSO
stat(2)