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(3) - mojave
utime(2) - debian
utime(2) - minix
utimes(2) - suse
utime(3) - freebsd
Similar Topics in the Unix Linux Community
Process Information
Utime Command
problem with tar
utime returning -1 BAD File DEscriptor
Unsure why access time on a directory change isn't changing