UTIME(3)

NAME
utime - set file times

SYNOPSIS
#include <sys/types.h>
int
utime(const char *file, const struct utimbuf *timep);

DESCRIPTION
This interface is obsoleted by utimes(2) . It is available from the compatibility library, libcompat.

DESCRIPTION
The utime() function sets the access and modification times of the named file from the structures in the argument array timep.

The calling process's effective user ID must match the owner of the file or must be the super-user.

SEE ALSO
utimes(2), stat(2)

HISTORY
A utime() function appeared in AT&T UNIX.