]>
Commit | Line | Data |
---|---|---|
1f2f436a A |
1 | --- utime.3.bsdnew 2009-11-08 14:20:21.000000000 -0800 |
2 | +++ utime.3 2009-11-08 14:32:59.000000000 -0800 | |
3 | @@ -39,7 +39,10 @@ | |
224c7076 A |
4 | .Sh SYNOPSIS |
5 | .In utime.h | |
6 | .Ft int | |
7 | -.Fn utime "const char *file" "const struct utimbuf *timep" | |
8 | +.Fo utime | |
9 | +.Fa "const char *path" | |
10 | +.Fa "const struct utimbuf *times" | |
11 | +.Fc | |
12 | .Sh DESCRIPTION | |
13 | .Bf -symbolic | |
14 | This interface is obsoleted by | |
1f2f436a | 15 | @@ -48,28 +51,28 @@ This interface is obsoleted by |
224c7076 A |
16 | .Pp |
17 | The | |
18 | .Fn utime | |
19 | -function sets the access and modification times of the named file from | |
1f2f436a | 20 | -the |
224c7076 | 21 | +function sets the access and modification times of the named file, |
1f2f436a A |
22 | +based on the |
23 | .Va actime | |
24 | and | |
25 | .Va modtime | |
26 | fields of the | |
27 | .Vt "struct utimbuf" | |
28 | pointed at by | |
29 | -.Fa timep . | |
224c7076 A |
30 | +.Fa times . |
31 | .Pp | |
32 | If the times are specified (the | |
33 | -.Fa timep | |
34 | +.Fa times | |
35 | argument is | |
36 | -.Pf non- Dv NULL ) | |
37 | +.Pf non- Dv NULL ) , | |
38 | the caller must be the owner of the file or be the super-user. | |
39 | .Pp | |
40 | If the times are not specified (the | |
41 | -.Fa timep | |
42 | +.Fa times | |
43 | argument is | |
44 | -.Dv NULL ) | |
45 | -the caller must be the owner of the file, have permission to write | |
46 | -the file, or be the super-user. | |
47 | +.Dv NULL ) , | |
48 | +the caller must be the owner of the file, | |
49 | +have permission to write the file, or be the super-user. | |
50 | .Sh ERRORS | |
51 | The | |
52 | .Fn utime |