Make unvis() have more reasonable argument types.
[unix-history] / usr / src / lib / libc / gen / utime.3
... / ...
CommitLineData
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.\"
5.\" @(#)utime.3 6.2 (Berkeley) %G%
6.\"
7.TH UTIME 3C ""
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
20.ft B
21This interface is obsoleted by utimes(2).
22.br
23It is available from the compatibility library, libcompat.
24.ft R
25.PP
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
35.IR file .
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
40utimes(2), stat(2)