[PATCH] man3/opendir.3: Specify feature traits for fdopendir(3)

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Currently, there is no note on the fact that fdopendir() is
POSIX.2008-only.

Signed-off-by: Petr Baudis <pasky@xxxxxxx>

---

diff --git a/man3/opendir.3 b/man3/opendir.3
index a5c64a3..8e224ee 100644
--- a/man3/opendir.3
+++ b/man3/opendir.3
@@ -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 majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html

[Index of Archives]     [Kernel Documentation]     [Netdev]     [Linux Ethernet Bridging]     [Linux Wireless]     [Kernel Newbies]     [Security]     [Linux for Hams]     [Netfilter]     [Bugtraq]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux RAID]     [Linux Admin]     [Samba]

  Powered by Linux