[PATCH] scandir(3): add ENOENT/ENOTDIR errors

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Signed-off-by: Mike Frysinger <vapier@xxxxxxxxxx>
---
 man3/scandir.3 |    6 ++++++
 1 files changed, 6 insertions(+), 0 deletions(-)

diff --git a/man3/scandir.3 b/man3/scandir.3
index 8ea5fec..46eaa73 100644
--- a/man3/scandir.3
+++ b/man3/scandir.3
@@ -102,8 +102,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.
-- 
1.7.6

--
To unsubscribe from this list: send the line "unsubscribe linux-man" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html


[Index of Archives]     [Kernel Documentation]     [Netdev]     [Linux Ethernet Bridging]     [Linux Wireless]     [Kernel Newbies]     [Security]     [Linux for Hams]     [Netfilter]     [Bugtraq]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux RAID]     [Linux Admin]     [Samba]

  Powered by Linux