poll tests: Avoid test failure on BSD and Solaris systems.
[gnulib.git] / doc / posix-functions / sigprocmask.texi
blob1a1379a21d3af61e4c39e6c5829703b0668bb443
1 @node sigprocmask
2 @section @code{sigprocmask}
3 @findex sigprocmask
5 POSIX specification:@* @url{https://pubs.opengroup.org/onlinepubs/9699919799/functions/sigprocmask.html}
7 Gnulib module: sigprocmask
9 Portability problems fixed by Gnulib:
10 @itemize
11 @item
12 This function is missing on some platforms:
13 mingw, MSVC 14.
14 @end itemize
16 Portability problems not fixed by Gnulib:
17 @itemize
18 @end itemize
20 Note: Although @code{sigprocmask} officially has undefined behaviour in
21 multi-threaded programs, in practice it is essentially equivalent to
22 @code{pthread_sigmask}, with only a difference regarding the error
23 return convention.  It's simpler to use @code{sigprocmask}, since it does
24 not require linking with @code{-lpthread} on some platforms:
25 glibc, NetBSD, OpenBSD, AIX, IRIX.