diff options
| author | Michael Kerrisk <mtk.manpages@gmail.com> | 2016-02-09 10:48:59 +0100 |
|---|---|---|
| committer | Michael Kerrisk <mtk.manpages@gmail.com> | 2016-03-01 20:01:03 +0100 |
| commit | cf7fa0a1792a2e37930ed75cf45007cf365a9f64 (patch) | |
| tree | ad3a1547fbd8e06370d41f2367b0aa5fc2c40a5f /man3/strdup.3 | |
| parent | 7f0ec8eed6b67f0dab1cc7ca86defe9f73fb010c (diff) | |
| download | man-pages-cf7fa0a1792a2e37930ed75cf45007cf365a9f64.tar.gz | |
brk.2, chdir.2, chmod.2, chown.2, chroot.2, getpagesize.2, getsid.2, killpg.2, mknod.2, readlink.2, setpgid.2, setreuid.2, sigaltstack.2, stat.2, symlink.2, sync.2, truncate.2, vfork.2, wait.2, wait4.2, a64l.3, acosh.3, asinh.3, atanh.3, cbrt.3, ecvt.3, expm1.3, gcvt.3, getcwd.3, getdate.3, getdtablesize.3, getgrent.3, gethostid.3, getpass.3, getpwent.3, getsubopt.3, ilogb.3, insque.3, lockf.3, log1p.3, logb.3, mkstemp.3, mktemp.3, nextafter.3, posix_memalign.3, random.3, realpath.3, remainder.3, rint.3, scalb.3, siginterrupt.3, sigset.3, strdup.3, ualarm.3, usleep.3: Remove references to _XOPEN_SOURCE_EXTENDED in SYNOPSIS
_XOPEN_SOURCE_EXTENDED is obsolete (it existed in SUSv1, but not
subsequent standards). _XOPEN_SOURCE >= 500 produces the same
effects as (_XOPEN_SOURCE && _XOPEN_SOURCE_EXTENDED). Modifying
the SYNOPSIS of various ages that contain:
_XOPEN_SOURCE\ >=\ 500 ||
_XOPEN_SOURCE\ &&\ _XOPEN_SOURCE_EXTENDED
to just:
_XOPEN_SOURCE\ >=\ 500
This has the following benefits:
a) Simplifying the SYNOPSIS by removing ancient
historical information.
b) Preventing users from being misled into using
_XOPEN_SOURCE_EXTENDED in new source code.
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
Diffstat (limited to 'man3/strdup.3')
| -rw-r--r-- | man3/strdup.3 | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/man3/strdup.3 b/man3/strdup.3 index 58fc3443d5..255367c0cf 100644 --- a/man3/strdup.3 +++ b/man3/strdup.3 @@ -53,10 +53,10 @@ Feature Test Macro Requirements for glibc (see .sp .BR strdup (): .RS 4 -_SVID_SOURCE || _BSD_SOURCE || _XOPEN_SOURCE\ >=\ 500 || -_XOPEN_SOURCE\ &&\ _XOPEN_SOURCE_EXTENDED +_SVID_SOURCE || _BSD_SOURCE || _XOPEN_SOURCE\ >=\ 500 +.\" || _XOPEN_SOURCE\ &&\ _XOPEN_SOURCE_EXTENDED .br -|| /* Since glibc 2.12: */ _POSIX_C_SOURCE\ >=\ 200809L + || /* Since glibc 2.12: */ _POSIX_C_SOURCE\ >=\ 200809L .RE .PP .BR strndup (): |
