Next: , Previous: , Up: ISO C and POSIX Function Substitutes   [Contents][Index]

9.1026 sigprocmask

POSIX specification:

Gnulib module: sigprocmask

Portability problems fixed by Gnulib:

Portability problems not fixed by Gnulib:

Note: Although sigprocmask officially has undefined behaviour in multi-threaded programs, in practice it is essentially equivalent to pthread_sigmask, with only a difference regarding the error return convention. It’s simpler to use sigprocmask, since it does not require linking with -lpthread on some platforms: glibc, NetBSD, OpenBSD, AIX, IRIX.