man3/opendir.3: Specify feature traits for fdopendir(3)
PATCH 1/1 man3/opendir.3: Specify feature traits for fdopendir(3)
Currently, there is no note on the fact that fdopendir() is POSIX.2008-only.
Signed-off-by Petr Baudis <[email protected]>
---
man3/opendir.3 +12 -0
@@ -39,6 +39,18 @@ opendir, fdopendir \- open a directory .BI "DIR *opendir(const char *" name ); .BI "DIR *fdopendir(int " fd ); .fi +.sp +.in -4n +Feature Test Macro Requirements for glibc (see +.BR feature_test_macros (7)): +.in +.sp +.BR fdopendir (): +.br +Since glibc 2.10: _XOPEN_SOURCE >= 700 || _POSIX_C_SOURCE >= 200809L +.br +Before glibc 2.10: +_GNU_SOURCE .SH DESCRIPTION The .BR opendir ()
--
To unsubscribe from this list: send the line "unsubscribe linux-man" in the body of a message to [email protected] More majordomo info at http://vger.kernel.org/majordomo-info.html
A message that is not in the archive (sent off-list or not yet received): [email protected]
Quoted 4 lines · Petr Baudis
Currently, there is no note on the fact that
fdopendir()is POSIX.2008-only.Signed-off-by Petr Baudis <[email protected]>
Thanks Petr. Applied for 3.25.
Cheers,
Michael
Quoted 26 lines
---
man3/opendir.3 +0
-0@@ -39,6 +39,18 @@ opendir, fdopendir \- open a directory .BI "DIR *opendir(const char *" name ); .BI "DIR *fdopendir(int " fd );.fi
+.sp
+.in -4nman3/opendir.3 +10
-0+Feature Test Macro Requirements for glibc (see +.BR feature_test_macros (7)): +.in +.sp +.BR fdopendir (): +.br +Since glibc 2.10: _XOPEN_SOURCE >= 700 || _POSIX_C_SOURCE >= 200809L +.br +Before glibc 2.10: +_GNU_SOURCE.SH DESCRIPTION
The
.BR opendir ()
Signature · 7 lines
Michael Kerrisk Linux man-pages maintainer; http://www.kernel.org/doc/man-pages/ Author of "The Linux Programming Interface" http://blog.man7.org/ -- To unsubscribe from this list: send the line "unsubscribe linux-man" in the body of a message to [email protected] More majordomo info at http://vger.kernel.org/majordomo-info.html