4.2BSD/usr/man/man3/utime.3c

.TH UTIME 3C "1 April 1983"
.UC 4
.SH NAME
utime \- set file times
.SH SYNOPSIS
.nf
.B #include <sys/types.h>
.PP
.B utime(file, timep)
.B char *file;
.B time_t timep[2];
.fi
.SH DESCRIPTION
.ft B
This interface is obsoleted by utimes(2).
.ft R
.PP
The
.I utime
call
uses the
`accessed' and `updated' times in that order
from the
.I timep
vector
to set the corresponding recorded times for
.IR file .
.PP
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.
.SH SEE ALSO
utimes(2), stat(2)