Manual page for UTIMES(2)
utimes - set file times
struct timeval tvp;
``accessed'' and ``updated'' times in that order
to set the corresponding recorded times for
The caller must be the owner of the file or the super-user.
The ``inode-changed'' time of the file is set to the current time.
Upon successful completion, a value of 0 is returned.
Otherwise, a value of -1 is returned and
is set to indicate the error.
will fail if one or more of the following are true:
A component of the path prefix is not a directory.
The pathname contains a character with the high-order bit set.
A component of a pathname exceeded 255 characters,
or an entire path name exceeded 1023 characters.
The named file does not exist.
Too many symbolic links were encountered in translating the pathname.
The process is not super-user and not the owner of the file.
Search permission is denied for a component of the path prefix.
The file system containing the file is mounted read-only.
or tvp points outside the process's allocated address space.
An I/O error occurred while reading or writing the affected inode.
Created by unroff & hp-tools.
© by Hans-Peter Bischof. All Rights Reserved (1997).
Last modified 21/April/97