summaryrefslogtreecommitdiff
path: root/man3/sigpause.3
diff options
context:
space:
mode:
authorMichael Kerrisk <mtk.manpages@gmail.com>2007-05-27 16:10:33 +0000
committerMichael Kerrisk <mtk.manpages@gmail.com>2007-05-27 16:10:33 +0000
commit98817d8387ed6a44637e39087848d6f012d582d2 (patch)
treec8f3ef31d75ad8ca711373c1be19b8d339d41d0c /man3/sigpause.3
parent2addd91025f7c8eb30b0744054dbd08cf7986c63 (diff)
Clarify discussion of feature test macros that are needed to
expose Sysem V and BSD versions of this function in glibc.
Diffstat (limited to 'man3/sigpause.3')
-rw-r--r--man3/sigpause.312
1 files changed, 9 insertions, 3 deletions
diff --git a/man3/sigpause.3 b/man3/sigpause.3
index 134063a7..1cb3dc80 100644
--- a/man3/sigpause.3
+++ b/man3/sigpause.3
@@ -68,11 +68,16 @@ function, that takes a
.I "sigset_t *"
parameter (instead of an
.IR int ).
-.LP
+.SS Linux Notes
On Linux, this routine is a system call only on the Sparc (sparc64)
architecture.
+
Libc4 and libc5 only know about the BSD version.
-Glibc uses the BSD version unless _XOPEN_SOURCE is defined.
+
+Glibc uses the BSD version if the _BSD_SOURCE feature test macro is
+defined and none of _POSIX_SOURCE, _POSIX_C_SOURCE, _XOPEN_SOURCE,
+_GNU_SOURCE, or _SVID_SOURCE is defined.
+The System V version is used if _XOPEN_SOURCE is defined.
.\"
.\" For the BSD version, one usually uses a zero
.\" .I sigmask
@@ -83,4 +88,5 @@ Glibc uses the BSD version unless _XOPEN_SOURCE is defined.
.BR sigprocmask (2),
.BR sigsuspend (2),
.BR sigblock (3),
-.BR sigvec (3)
+.BR sigvec (3),
+.BR feature_test_macros (7)