sigsetmask (2)
Leading comments
Copyright (c) 1983, 1991, 1993 The Regents of the University of California. All rights reserved. Redistribution and use in source and binary forms, with or without modification, are permitted provided that the following conditions are met: 1. Redistributions of source code must retain the above copyright notice, this list of conditions and the following disclaimer. 2. Redistributions in binary form must reproduce the above copyright notice, this list of conditions and the fol...
NAME
sigsetmask sigblock - manipulate current signal maskLIBRARY
Lb libcSYNOPSIS
In signal.h Ft int Fn sigsetmask int mask Ft int Fn sigblock int mask Ft int Fn sigmask int signumDESCRIPTION
Bf -symbolic This interface is made obsolete by: Ef sigprocmask(2).The Fn sigsetmask function sets the current signal mask to the specified Fa mask . Signals are blocked from delivery if the corresponding bit in Fa mask is a 1. The Fn sigblock function adds the signals in the specified Fa mask to the current signal mask, rather than overwriting it as Fn sigsetmask does. The macro Fn sigmask is provided to construct the mask for a given Fa signum .
The system quietly disallows SIGKILL or SIGSTOP to be blocked.