|
|
1.1 root 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) 5/17/89
6: .\"
7: .TH UTIME 3C "May 17, 1989"
8: .UC 4
9: .SH NAME
10: utime \- 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
21: This interface is obsoleted by utimes(2).
22: .br
23: It is available from the compatibility library, libcompat.
24: .ft R
25: .PP
26: The
27: .I utime
28: call
29: uses the
30: `accessed' and `updated' times in that order
31: from the
32: .I timep
33: vector
34: to set the corresponding recorded times for
35: .IR file .
36: .PP
37: The caller must be the owner of the file or the super-user.
38: The `inode-changed' time of the file is set to the current time.
39: .SH SEE ALSO
40: utimes(2), stat(2)
This archive runs on limited infrastructure. Preserving old code on modern bandwidth. Automated agents are requested to crawl responsibly.