xref: /csrg-svn/lib/libc/sys/utimes.2 (revision 20147)
Copyright (c) 1980 Regents of the University of California.
All rights reserved. The Berkeley software License Agreement
specifies the terms and conditions for redistribution.

@(#)utimes.2 4.1 (Berkeley) 05/09/85

UTIME 2
C 4
NAME
utime - set file times
SYNOPSIS
 #include <sys/types.h> 

utime(file, timep) char *file; time_t timep[2];

DESCRIPTION
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
stat (2)
"ASSEMBLER (PDP-11)"
(utime = 30.)

sys utime; file; timep