]> git.saurik.com Git - apple/libc.git/blob - gen/FreeBSD/utime.3.patch
Libc-498.tar.gz
[apple/libc.git] / gen / FreeBSD / utime.3.patch
1 --- _SB/Libc/gen/FreeBSD/utime.3 2003-05-20 15:21:03.000000000 -0700
2 +++ _SB/Libc/gen/FreeBSD/utime.3.edit 2006-06-28 16:55:51.000000000 -0700
3 @@ -43,7 +43,10 @@
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
15 @@ -52,22 +55,22 @@
16 .Pp
17 The
18 .Fn utime
19 -function sets the access and modification times of the named file from
20 -the structures in the argument array
21 -.Fa timep .
22 +function sets the access and modification times of the named file,
23 +based on the structures in the argument array
24 +.Fa times .
25 .Pp
26 If the times are specified (the
27 -.Fa timep
28 +.Fa times
29 argument is
30 -.Pf non- Dv NULL )
31 +.Pf non- Dv NULL ) ,
32 the caller must be the owner of the file or be the super-user.
33 .Pp
34 If the times are not specified (the
35 -.Fa timep
36 +.Fa times
37 argument is
38 -.Dv NULL )
39 -the caller must be the owner of the file, have permission to write
40 -the file, or be the super-user.
41 +.Dv NULL ) ,
42 +the caller must be the owner of the file,
43 +have permission to write the file, or be the super-user.
44 .Sh ERRORS
45 The
46 .Fn utime