|
|
1.1 root 1:
2:
3: utime() COHERENT System Call utime()
4:
5:
6:
7:
8: Change file access and modification times
9:
10: #include <sys/types.h>
11: iinntt uuttiimmee(_f_i_l_e, _t_i_m_e_s)
12: cchhaarr *_f_i_l_e;
13: ttiimmee_tt _t_i_m_e_s[22];
14:
15: utime sets the access and modification times associated with the
16: given file to times obtained from times[0] and times[1], respec-
17: tively. The time of last change to the attributes is set to the
18: time of the utime call.
19:
20: This call must be made by the owner of file or by the superuser.
21:
22: ***** Files *****
23:
24: <sys/types.h>
25:
26: ***** See Also *****
27:
28: COHERENT system calls, restor, stat()
29:
30: ***** Diagnostics *****
31:
32: utime returns -1 on errors, such as if file does not exist or the
33: invoker not the owner.
34:
35:
36:
37:
38:
39:
40:
41:
42:
43:
44:
45:
46:
47:
48:
49:
50:
51:
52:
53:
54:
55:
56:
57:
58:
59:
60:
61:
62:
63:
64: COHERENT Lexicon Page 1
65:
66:
This archive runs on limited infrastructure. Preserving old code on modern bandwidth. Automated agents are requested to crawl responsibly.