diff options
Diffstat (limited to 'usr/src/man/man2/getdents.2')
| -rw-r--r-- | usr/src/man/man2/getdents.2 | 18 |
1 files changed, 1 insertions, 17 deletions
diff --git a/usr/src/man/man2/getdents.2 b/usr/src/man/man2/getdents.2 index 0dbb1bf6f5..c74af41c44 100644 --- a/usr/src/man/man2/getdents.2 +++ b/usr/src/man/man2/getdents.2 @@ -3,7 +3,7 @@ .\" The contents of this file are subject to the terms of the Common Development and Distribution License (the "License"). You may not use this file except in compliance with the License. .\" You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE or http://www.opensolaris.org/os/licensing. See the License for the specific language governing permissions and limitations under the License. .\" When distributing Covered Code, include this CDDL HEADER in each file and include the License file at usr/src/OPENSOLARIS.LICENSE. If applicable, add the following below this CDDL HEADER, with the fields enclosed by brackets "[]" replaced with your own identifying information: Portions Copyright [yyyy] [name of copyright owner] -.TH getdents 2 "17 Jul 2001" "SunOS 5.11" "System Calls" +.TH GETDENTS 2 "Jul 17, 2001" .SH NAME getdents \- read directory entries and put in a file system independent format .SH SYNOPSIS @@ -43,90 +43,74 @@ the directory has been reached. Otherwise, \fB\(mi1\fR is returned and The \fBgetdents()\fR function will fail if: .sp .ne 2 -.mk .na \fB\fBEBADF\fR\fR .ad .RS 13n -.rt The \fIfildes\fR argument is not a valid file descriptor open for reading. .RE .sp .ne 2 -.mk .na \fB\fBEFAULT\fR\fR .ad .RS 13n -.rt The \fIbuf\fR argument points to an illegal address. .RE .sp .ne 2 -.mk .na \fB\fBEINVAL\fR\fR .ad .RS 13n -.rt The \fInbyte\fR argument is not large enough for one directory entry. .RE .sp .ne 2 -.mk .na \fB\fBEIO\fR\fR .ad .RS 13n -.rt An I/O error occurred while accessing the file system. .RE .sp .ne 2 -.mk .na \fB\fBENOENT\fR\fR .ad .RS 13n -.rt The current file pointer for the directory is not located at a valid entry. .RE .sp .ne 2 -.mk .na \fB\fBENOLINK\fR\fR .ad .RS 13n -.rt The \fIfildes\fR argument points to a remote machine and the link to that machine is no longer active. .RE .sp .ne 2 -.mk .na \fB\fBENOTDIR\fR\fR .ad .RS 13n -.rt The \fIfildes\fR argument is not a directory. .RE .sp .ne 2 -.mk .na \fB\fBEOVERFLOW\fR\fR .ad .RS 13n -.rt The value of the \fBdirent\fR structure member \fBd_ino\fR or \fBd_off\fR cannot be represented in an \fBino_t\fR or \fBoff_t\fR. .RE |
