OSDN Git Service

(split) LDP: Update original to LDP v3.65
[linuxjm/LDP_man-pages.git] / original / man3 / getdirentries.3
index 3feed8f..f4a62f6 100644 (file)
@@ -1,9 +1,8 @@
-.\" Hey Emacs! This file is -*- nroff -*- source.
-.\"
 .\" Copyright 1993 Rickard E. Faith (faith@cs.unc.edu)
 .\" Portions extracted from /usr/include/dirent.h are:
 .\"                    Copyright 1991, 1992 Free Software Foundation
 .\"
+.\" %%%LICENSE_START(VERBATIM)
 .\" Permission is granted to make and distribute verbatim copies of this
 .\" manual provided the copyright notice and this permission notice are
 .\" preserved on all copies.
 .\"
 .\" Formatted or processed versions of this manual, if unaccompanied by
 .\" the source, must acknowledge the copyright and authors of this work.
+.\" %%%LICENSE_END
 .\"
 .TH GETDIRENTRIES 3 2007-07-26 "GNU" "Linux Programmer's Manual"
 .SH NAME
-getdirentries \- get directory entries in a file system-independent format
+getdirentries \- get directory entries in a filesystem-independent format
 .SH SYNOPSIS
 .B #include <dirent.h>
 .sp
@@ -53,7 +53,7 @@ Reading starts at offset
 and
 .I *basep
 is updated with the new position after reading.
-.SH "RETURN VALUE"
+.SH RETURN VALUE
 .BR getdirentries ()
 returns the number of bytes read or zero when at the end of the directory.
 If an error occurs, \-1 is returned, and
@@ -61,7 +61,7 @@ If an error occurs, \-1 is returned, and
 is set appropriately.
 .SH ERRORS
 See the Linux library source code for details.
-.SH "CONFORMING TO"
+.SH CONFORMING TO
 Not in POSIX.1-2001.
 Present on the BSDs, and a few other systems.
 Use
@@ -69,6 +69,14 @@ Use
 and
 .BR readdir (3)
 instead.
-.SH "SEE ALSO"
+.SH SEE ALSO
 .BR lseek (2),
 .BR open (2)
+.SH COLOPHON
+This page is part of release 3.65 of the Linux
+.I man-pages
+project.
+A description of the project,
+and information about reporting bugs,
+can be found at
+\%http://www.kernel.org/doc/man\-pages/.