Deleted Added
full compact
utimes.2 (108028) utimes.2 (108087)
1.\" $NetBSD: utimes.2,v 1.13 1999/03/22 19:45:11 garbled Exp $
2.\"
3.\" Copyright (c) 1990, 1993
4.\" The Regents of the University of California. All rights reserved.
5.\"
6.\" Redistribution and use in source and binary forms, with or without
7.\" modification, are permitted provided that the following conditions
8.\" are met:

--- 18 unchanged lines hidden (view full) ---

27.\" DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS
28.\" OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)
29.\" HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT
30.\" LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY
31.\" OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
32.\" SUCH DAMAGE.
33.\"
34.\" @(#)utimes.2 8.1 (Berkeley) 6/4/93
1.\" $NetBSD: utimes.2,v 1.13 1999/03/22 19:45:11 garbled Exp $
2.\"
3.\" Copyright (c) 1990, 1993
4.\" The Regents of the University of California. All rights reserved.
5.\"
6.\" Redistribution and use in source and binary forms, with or without
7.\" modification, are permitted provided that the following conditions
8.\" are met:

--- 18 unchanged lines hidden (view full) ---

27.\" DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS
28.\" OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)
29.\" HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT
30.\" LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY
31.\" OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
32.\" SUCH DAMAGE.
33.\"
34.\" @(#)utimes.2 8.1 (Berkeley) 6/4/93
35.\" $FreeBSD: head/lib/libc/sys/utimes.2 108028 2002-12-18 09:22:32Z ru $
35.\" $FreeBSD: head/lib/libc/sys/utimes.2 108087 2002-12-19 09:40:28Z ru $
36.\"
37.Dd June 4, 1993
38.Dt UTIMES 2
39.Os
40.Sh NAME
41.Nm utimes ,
42.Nm lutimes ,
43.Nm futimes

--- 72 unchanged lines hidden (view full) ---

116or the
117.Fa times
118argument is
119.Dv NULL
120and the effective user ID of the process does not
121match the owner of the file, and is not the super-user, and write
122access is denied.
123.It Bq Er EFAULT
36.\"
37.Dd June 4, 1993
38.Dt UTIMES 2
39.Os
40.Sh NAME
41.Nm utimes ,
42.Nm lutimes ,
43.Nm futimes

--- 72 unchanged lines hidden (view full) ---

116or the
117.Fa times
118argument is
119.Dv NULL
120and the effective user ID of the process does not
121match the owner of the file, and is not the super-user, and write
122access is denied.
123.It Bq Er EFAULT
124The
124.Fa path
125or
126.Fa times
125.Fa path
126or
127.Fa times
128argument
127points outside the process's allocated address space.
128.It Bq Er EIO
129An I/O error occurred while reading or writing the affected inode.
130.It Bq Er ELOOP
131Too many symbolic links were encountered in translating the pathname.
132.It Bq Er ENAMETOOLONG
133A component of a pathname exceeded
134.Dv NAME_MAX

--- 16 unchanged lines hidden (view full) ---

151.El
152.Pp
153The
154.Fn futimes
155system call
156will fail if:
157.Bl -tag -width Er
158.It Bq Er EBADF
129points outside the process's allocated address space.
130.It Bq Er EIO
131An I/O error occurred while reading or writing the affected inode.
132.It Bq Er ELOOP
133Too many symbolic links were encountered in translating the pathname.
134.It Bq Er ENAMETOOLONG
135A component of a pathname exceeded
136.Dv NAME_MAX

--- 16 unchanged lines hidden (view full) ---

153.El
154.Pp
155The
156.Fn futimes
157system call
158will fail if:
159.Bl -tag -width Er
160.It Bq Er EBADF
161The
159.Fa fd
162.Fa fd
163argument
160does not refer to a valid descriptor.
161.El
162.Pp
163All of the system calls will fail if:
164.Bl -tag -width Er
165.It Bq Er EACCES
166The
167.Fa times
168argument is
169.Dv NULL
170and the effective user ID of the process does not
171match the owner of the file, and is not the super-user, and write
172access is denied.
173.It Bq Er EFAULT
164does not refer to a valid descriptor.
165.El
166.Pp
167All of the system calls will fail if:
168.Bl -tag -width Er
169.It Bq Er EACCES
170The
171.Fa times
172argument is
173.Dv NULL
174and the effective user ID of the process does not
175match the owner of the file, and is not the super-user, and write
176access is denied.
177.It Bq Er EFAULT
178The
174.Fa times
179.Fa times
180argument
175points outside the process's allocated address space.
176.It Bq Er EIO
177An I/O error occurred while reading or writing the affected inode.
178.It Bq Er EPERM
179The
180.Fa times
181argument is not
182.Dv NULL

--- 19 unchanged lines hidden ---
181points outside the process's allocated address space.
182.It Bq Er EIO
183An I/O error occurred while reading or writing the affected inode.
184.It Bq Er EPERM
185The
186.Fa times
187argument is not
188.Dv NULL

--- 19 unchanged lines hidden ---