mirror of https://github.com/mkerrisk/man-pages
CONFORMING TO: Add POSIX.1-2008; other minor changes.
This commit is contained in:
parent
5db9708db3
commit
9f61bba169
12
man3/dirfd.3
12
man3/dirfd.3
|
@ -20,7 +20,7 @@
|
|||
.\" Formatted or processed versions of this manual, if unaccompanied by
|
||||
.\" the source, must acknowledge the copyright and authors of this work.
|
||||
.\"
|
||||
.TH DIRFD 3 2008-07-02 "Linux" "Linux Programmer's Manual"
|
||||
.TH DIRFD 3 2008-08-21 "Linux" "Linux Programmer's Manual"
|
||||
.SH NAME
|
||||
dirfd \- get directory stream file descriptor
|
||||
.SH SYNOPSIS
|
||||
|
@ -56,7 +56,7 @@ is called.
|
|||
On success, a non-negative file descriptor is returned.
|
||||
On error, \-1 is returned.
|
||||
.SH ERRORS
|
||||
The upcoming POSIX.1 revision specifies two errors,
|
||||
POSIX.1-2008 specifies two errors,
|
||||
neither of which is returned by the current
|
||||
.\" glibc 2.8
|
||||
implementation.
|
||||
|
@ -69,11 +69,9 @@ does not refer to a valid directory stream.
|
|||
The implementation does not support the association of a file
|
||||
descriptor with a directory.
|
||||
.SH "CONFORMING TO"
|
||||
This is a BSD extension, present in 4.3BSD-Reno, not in 4.2BSD.
|
||||
It is present in libc5 (since 5.1.2) and in glibc2.
|
||||
.\" As at 2006:
|
||||
This function is under consideration for inclusion in
|
||||
a future version of POSIX.1.
|
||||
POSIX.1-2008.
|
||||
This function was a BSD extension, present in 4.3BSD-Reno, not in 4.2BSD.
|
||||
.\" It is present in libc5 (since 5.1.2) and in glibc2.
|
||||
.SH NOTES
|
||||
The prototype for
|
||||
.BR dirfd ()
|
||||
|
|
Loading…
Reference in New Issue