mirror of https://github.com/mkerrisk/man-pages
Clarify discussion of feature test macros that are needed to
expose Sysem V and BSD versions of this function in glibc.
This commit is contained in:
parent
2addd91025
commit
98817d8387
|
@ -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)
|
||||
|
|
Loading…
Reference in New Issue