•  Back 
  •  Process functions 
  •  Index 
  •  Tree View 
  •  Cross references 
  •  Help page 
  •  Show info about hypertext 
  •  View a new file 
Topic       : TOS - The Operating System
Author      : 
Version     : tos.hyp (December 19, 2008)
Subject     : Programmieren/Atari
Nodes       : 3010
Index Size  : 93790
HCP-Version : 5
Compiled on : Atari
@charset    : atarist
@lang       : 
@default    : Title
@help       : 
@options    : +g -i -s +x +zz -t4
@width      : 70
View Ref-File5.12.39  Psigsetmask                                               TOS

 Name:         »Psigsetmask« - Set/replace a signal mask.

 Opcode:       279

 Syntax:       int32_t Psigsetmask ( int32_t mask );

 Description:  The function Psigsetmask replaces the set of signals 
               that are currently to be blocked completely by the 
               signals specified in the parameter mask.

               One should note that some signals (e.g. SIGKILL) can 
               not be blocked. The kernel will delete these signals 
               from mask before any change of the signal set is 
               performed.

               Furthermore it should be pointed out that blocked 
               signals also remain blocked via Pfork/Pvfork calls. 
               After a Pexec call the child always starts with an 
               empty set of signals to be blocked, irrespective of 
               which signals were blocked by its parent.

 Return value: The function returns the set of the blocked signals 
               that were valid before the call.

 Availability: As of the first in MultiTOS integrated MiNT version 
               1.04, and MagiC as of Version 4.50.

 Group:        Process functions

 See also:     Binding   Psigblock   Signals   Signal-handler in MagiC