OSDN Git Service

(split) LDP_man-pages: update original to v3.34.
[linuxjm/LDP_man-pages.git] / original / man3 / scandir.3
index 8ea5fec..9e355aa 100644 (file)
@@ -31,7 +31,9 @@
 .\" Modified Sun Sep 24 20:15:46 2000 by aeb, following Petter Reinholdtsen.
 .\" Modified 2001-12-26 by aeb, following Joey. Added versionsort.
 .\"
-.TH SCANDIR 3  2009-02-10 "GNU" "Linux Programmer's Manual"
+.\" FIXME glibc 2.15 adds scandirat()
+.\"
+.TH SCANDIR 3  2011-09-08 "GNU" "Linux Programmer's Manual"
 .SH NAME
 scandir, alphasort, versionsort \- scan a directory for matching entries
 .SH SYNOPSIS
@@ -102,8 +104,14 @@ or greater than zero if the first argument is considered to be
 respectively less than, equal to, or greater than the second.
 .SH ERRORS
 .TP
+.B ENOENT
+The path in \fIdirp\fR does not exist.
+.TP
 .B ENOMEM
 Insufficient memory to complete the operation.
+.TP
+.B ENOTDIR
+The path in \fIdirp\fR is not a directory.
 .SH VERSIONS
 .BR versionsort ()
 was added to glibc in version 2.1.