Home | History | Annotate | Download | only in sigset
      1 <assertions>
      2   <assertion id="1" tag="ref:XSH6:41944:41946 pt:XSI">
      3 	If sigset() is used and disp is SIG_DFL, then the default action associated with that process will be taken when the
      4         signal occurs.
      5   </assertion>
      6   <assertion id="2" tag="ref:XSH6:41944:41946 pt:XSI">
      7 	If sigset() is used and disp is SIG_IGN, then the signal will be ignored
      8         signal occurs.
      9   </assertion>
     10   <assertion id="3" tag="ref:XSH6:41944:41946 pt:XSI">
     11 	If sigset() is used and disp is the address of a signal handler, then the signal handler will be executed
     12         when the signal is generated.
     13   </assertion>
     14   <assertion id="4" tag="ref:XSH6:41946:41948 pt:XSI">
     15 	If sigset( ) is used, and disp is the address of a signal handler, the system shall add sig to the calling process'
     16 	signal mask before executing the signal handler
     17   </assertion>
     18   <assertion id="5" tag="ref:XSH6:41948:41949 pt:XSI">
     19 	The calling process's signal mask shall be restored to its state prior to the delivery of the signal,
     20 	when the signal handler returns.
     21   </assertion>
     22   <assertion id="6" tag="ref:XSH6:41950:41951 pt:XSI">
     23 	If disp is equal to SIG_HOLD, sig shall be added to the calling process' signal mask.
     24   </assertion>
     25   <assertion id="7" tag="ref:XSH6:41950:41951 pt:XSI">
     26 	If disp is equal to SIG_HOLD, sig's disposition shall remain unchanged.
     27   </assertion>
     28   <assertion id="8" tag="ref:XSH6:41965:41966 pt:XSI">
     29 	If the signal had been blocked, upon successful completion, sigset( ) shall return SIG_HOLD
     30   </assertion>
     31   <assertion id="9" tag="ref:XSH6:41965:41966 pt:XSI">
     32 	If the signal had not been blocked, upon successful completion, sigset( ) shall return the signal's previous disposition
     33   </assertion>
     34   <assertion id="10" tag="ref:XSH6:41967:41977 pt:XSI">
     35 	If sigset() was not successful, SIG_ERR shall be returned and errno set to indicate the error.
     36   </assertion>
     37 </assertions>
     38 
     39