OSDN Git Service

(split) LDP: Update original to LDP v3.52.
[linuxjm/LDP_man-pages.git] / original / man3 / dirfd.3
index 0fe9410..ddc0aef 100644 (file)
@@ -22,7 +22,7 @@
 .\" the source, must acknowledge the copyright and authors of this work.
 .\" %%%LICENSE_END
 .\"
-.TH DIRFD 3 2010-09-26 "Linux" "Linux Programmer's Manual"
+.TH DIRFD 3 2013-04-19 "Linux" "Linux Programmer's Manual"
 .SH NAME
 dirfd \- get directory stream file descriptor
 .SH SYNOPSIS
@@ -68,7 +68,9 @@ It will be automatically closed when
 is called.
 .SH RETURN VALUE
 On success, a nonnegative file descriptor is returned.
-On error, \-1 is returned.
+On error, \-1 is returned, and
+.I errno
+is set to indicate the cause of the error.
 .SH ERRORS
 POSIX.1-2008 specifies two errors,
 neither of which is returned by the current