POSIX.1-2008 specifes fdopendir().

This commit is contained in:
Michael Kerrisk 2008-08-06 12:28:37 +00:00
parent a2fa863ac4
commit 4a19ca57dd
1 changed files with 6 additions and 8 deletions

View File

@ -27,7 +27,7 @@
.\" Modified Sat Jul 24 18:46:01 1993 by Rik Faith (faith@cs.unc.edu)
.\" Modified 11 June 1995 by Andries Brouwer (aeb@cwi.nl)
.\" 2007-07-30 Ulrich Drepper <drepper@redhat.com>: document fdopendir().
.TH OPENDIR 3 2008-04-25 "" "Linux Programmer's Manual"
.TH OPENDIR 3 2008-08-06 "GNU" "Linux Programmer's Manual"
.SH NAME
opendir, fdopendir \- open a directory
.SH SYNOPSIS
@ -96,9 +96,8 @@ is available in glibc since version 2.4.
.SH "CONFORMING TO"
.BR opendir ()
is present on SVr4, 4.3BSD, and specified in POSIX.1-2001.
.\" FIXME . To be confirmed later that fdopendir() appears in SUSv4.
.BR fdopendir ()
is under consideration for inclusion in the next version of POSIX.1.
is specified in POSIX.1-2008.
.SH NOTES
The underlying file descriptor of the directory stream can be obtained using
.BR dirfd (3).
@ -112,11 +111,10 @@ The
function leaves the setting of the close-on-exec
flag unchanged for the file descriptor,
.IR fd .
.\" FIXME . Add the following text once POSIX.1-2008 is ratified.
.\" POSIX.1-200x leaves it unspecified whether a successful call to
.\" .BR fdopendir ()
.\" will set the close-on-exec flag for the file descriptor,
.\" .IR fd .
POSIX.1-200x leaves it unspecified whether a successful call to
.BR fdopendir ()
will set the close-on-exec flag for the file descriptor,
.IR fd .
.SH "SEE ALSO"
.BR open (2),
.BR closedir (3),