Deleted Added
full compact
getdirentries.2 (108040) getdirentries.2 (108087)
1.\" Copyright (c) 1989, 1991, 1993
2.\" The Regents of the University of California. All rights reserved.
3.\"
4.\" Redistribution and use in source and binary forms, with or without
5.\" modification, are permitted provided that the following conditions
6.\" are met:
7.\" 1. Redistributions of source code must retain the above copyright
8.\" notice, this list of conditions and the following disclaimer.

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

25.\" DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS
26.\" OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)
27.\" HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT
28.\" LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY
29.\" OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
30.\" SUCH DAMAGE.
31.\"
32.\" @(#)getdirentries.2 8.2 (Berkeley) 5/3/95
1.\" Copyright (c) 1989, 1991, 1993
2.\" The Regents of the University of California. All rights reserved.
3.\"
4.\" Redistribution and use in source and binary forms, with or without
5.\" modification, are permitted provided that the following conditions
6.\" are met:
7.\" 1. Redistributions of source code must retain the above copyright
8.\" notice, this list of conditions and the following disclaimer.

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

25.\" DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS
26.\" OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)
27.\" HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT
28.\" LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY
29.\" OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
30.\" SUCH DAMAGE.
31.\"
32.\" @(#)getdirentries.2 8.2 (Berkeley) 5/3/95
33.\" $FreeBSD: head/lib/libc/sys/getdirentries.2 108040 2002-12-18 13:33:04Z ru $
33.\" $FreeBSD: head/lib/libc/sys/getdirentries.2 108087 2002-12-19 09:40:28Z ru $
34.\"
35.Dd May 3, 1995
36.Dt GETDIRENTRIES 2
37.Os
38.Sh NAME
39.Nm getdirentries ,
40.Nm getdents
41.Nd "get directory entries in a file system independent format"

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

148is set to indicate the error.
149.Sh ERRORS
150The
151.Fn getdirentries
152system call
153will fail if:
154.Bl -tag -width Er
155.It Bq Er EBADF
34.\"
35.Dd May 3, 1995
36.Dt GETDIRENTRIES 2
37.Os
38.Sh NAME
39.Nm getdirentries ,
40.Nm getdents
41.Nd "get directory entries in a file system independent format"

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

148is set to indicate the error.
149.Sh ERRORS
150The
151.Fn getdirentries
152system call
153will fail if:
154.Bl -tag -width Er
155.It Bq Er EBADF
156The
156.Fa fd
157.Fa fd
158argument
157is not a valid file descriptor open for reading.
158.It Bq Er EFAULT
159Either
160.Fa buf
161or
162.Fa basep
163point outside the allocated address space.
164.It Bq Er EINVAL

--- 23 unchanged lines hidden ---
159is not a valid file descriptor open for reading.
160.It Bq Er EFAULT
161Either
162.Fa buf
163or
164.Fa basep
165point outside the allocated address space.
166.It Bq Er EINVAL

--- 23 unchanged lines hidden ---