|
|
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.3c 6.1 (Berkeley) 5/9/85
6: .\"
7: .TH UTIME 3C "May 9, 1985"
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: .ft R
23: .PP
24: The
25: .I utime
26: call
27: uses the
28: `accessed' and `updated' times in that order
29: from the
30: .I timep
31: vector
32: to set the corresponding recorded times for
33: .IR file .
34: .PP
35: The caller must be the owner of the file or the super-user.
36: The `inode-changed' time of the file is set to the current time.
37: .SH SEE ALSO
38: utimes(2), stat(2)
This archive runs on limited infrastructure. Preserving old code on modern bandwidth. Automated agents are requested to crawl responsibly.