bsd man page for utime

Query: utime

OS: bsd

Section: 3c

Format: Original Unix Latex Style Formatted with HTML and a Horizontal Scroll Bar

UTIME(3C)																 UTIME(3C)

NAME
utime - set file times
SYNOPSIS
#include <sys/types.h> utime(file, timep) char *file; time_t timep[2];
DESCRIPTION
This interface is obsoleted by utimes(2). The utime call uses the `accessed' and `updated' times in that order from the timep vector to set the corresponding recorded times for file. 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.
SEE ALSO
utimes(2), stat(2) 4th Berkeley Distribution May 9, 1985 UTIME(3C)
Related Man Pages
utime(2) - redhat
utimes(2) - redhat
utime(2) - debian
utime(2) - centos
utime(2) - minix
Similar Topics in the Unix Linux Community
Process Information
equivalent to utime
Cannot utime: Operation not permitted
problem with tar
utime returning -1 BAD File DEscriptor