•  Back 
  •  GEMDOS structures 
  •  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.21.26  struct sigaction                                          TOS

This structure is defined as follows:

struct sigaction
{
   void cdecl (*sa_handler)(int32_t sig);
   int32_t    sa_mask;
   int16_t    sa_flags;
};

Note: The component sa_handler can assume various values here. A value 
of 0 means default signal-handling by the system, with a value of 1 
the signal will be ignored; any other value will be interpreted as the 
address of a signal handling routine, which is then called.

The component sa_mask contains additionally (to the signal currently 
being processed) the signals to be masked during the signal handling. 
In that case mask = oldmask+(1<<sig)+sa_mask). With sa_flags one can 
influence the behaviour of a signal further. A value of 1 for sa_flags 
means in MiNT that the signal SIGCHLD is triggered only on termination 
and not on stopping the child; other values for sa_flags are not yet 
defined at the present time.

See also: Signals   Signal-handler in MagiC   GEMDOS   Psigaction 
Process functions