Make unvis() have more reasonable argument types.
[unix-history] / usr / src / lib / libc / gen / utime.3
CommitLineData
280f9990
KM
1.\" Copyright (c) 1980 Regents of the University of California.
2.\" All rights reserved. The Berkeley software License Agreement
3.\" specifies the terms and conditions for redistribution.
4.\"
79e6b3c8 5.\" @(#)utime.3 6.2 (Berkeley) %G%
280f9990 6.\"
b6ba30bf 7.TH UTIME 3C ""
280f9990
KM
8.UC 4
9.SH NAME
10utime \- set file times
11.SH SYNOPSIS
12.nf
13.B #include <sys/types.h>
14.PP
15.B utime(file, timep)
16.B char *file;
17.B time_t timep[2];
18.fi
19.SH DESCRIPTION
4a8401dc
KM
20.ft B
21This interface is obsoleted by utimes(2).
79e6b3c8
KB
22.br
23It is available from the compatibility library, libcompat.
4a8401dc
KM
24.ft R
25.PP
280f9990
KM
26The
27.I utime
28call
29uses the
30`accessed' and `updated' times in that order
31from the
32.I timep
33vector
34to set the corresponding recorded times for
4a8401dc 35.IR file .
280f9990
KM
36.PP
37The caller must be the owner of the file or the super-user.
38The `inode-changed' time of the file is set to the current time.
39.SH SEE ALSO
4a8401dc 40utimes(2), stat(2)