summaryrefslogtreecommitdiffstats
path: root/upstream/debian-unstable/man3/dirfd.3
diff options
context:
space:
mode:
authorDaniel Baumann <daniel.baumann@progress-linux.org>2024-06-17 10:51:52 +0000
committerDaniel Baumann <daniel.baumann@progress-linux.org>2024-06-17 10:51:52 +0000
commit4ad94864781f48b1a4b77f9cfb934622bf756ba1 (patch)
tree3900955c1886e6d2570fea7125ee1f01bafe876d /upstream/debian-unstable/man3/dirfd.3
parentAdding upstream version 4.22.0. (diff)
downloadmanpages-l10n-4ad94864781f48b1a4b77f9cfb934622bf756ba1.tar.xz
manpages-l10n-4ad94864781f48b1a4b77f9cfb934622bf756ba1.zip
Adding upstream version 4.23.0.upstream/4.23.0
Signed-off-by: Daniel Baumann <daniel.baumann@progress-linux.org>
Diffstat (limited to 'upstream/debian-unstable/man3/dirfd.3')
-rw-r--r--upstream/debian-unstable/man3/dirfd.311
1 files changed, 5 insertions, 6 deletions
diff --git a/upstream/debian-unstable/man3/dirfd.3 b/upstream/debian-unstable/man3/dirfd.3
index 4fa622cd..89a1d279 100644
--- a/upstream/debian-unstable/man3/dirfd.3
+++ b/upstream/debian-unstable/man3/dirfd.3
@@ -3,7 +3,7 @@
.\"
.\" SPDX-License-Identifier: Linux-man-pages-copyleft
.\"
-.TH dirfd 3 2023-07-20 "Linux man-pages 6.05.01"
+.TH dirfd 3 2024-05-02 "Linux man-pages 6.8"
.SH NAME
dirfd \- get directory stream file descriptor
.SH LIBRARY
@@ -13,15 +13,15 @@ Standard C library
.nf
.B #include <sys/types.h>
.B #include <dirent.h>
-.PP
+.P
.BI "int dirfd(DIR *" dirp );
.fi
-.PP
+.P
.RS -4
Feature Test Macro Requirements for glibc (see
.BR feature_test_macros (7)):
.RE
-.PP
+.P
.BR dirfd ():
.nf
/* Since glibc 2.10: */ _POSIX_C_SOURCE >= 200809L
@@ -32,7 +32,7 @@ The function
.BR dirfd ()
returns the file descriptor associated with the directory stream
.IR dirp .
-.PP
+.P
This file descriptor is the one used internally by the directory stream.
As a result, it is useful only for functions which do not depend on
or alter the file position, such as
@@ -76,7 +76,6 @@ T{
.BR dirfd ()
T} Thread safety MT-Safe
.TE
-.sp 1
.SH STANDARDS
POSIX.1-2008.
.SH HISTORY