•  Back 
  •  GEMDOS Function Reference 
  •  Index 
  •  Tree View 
  •  Cross references 
  •  %About 
  •  Show info about hypertext 
  •  View a new file 
Topic       : The ATARI Compendium
Author      : Scott Sanders / JAY Software
Version     : 1.25 (20/6/2003)
Subject     : Documentation
Nodes       : 1117
Index Size  : 32614
HCP-Version : 6
Compiled on : Atari
@charset    : UTF-8
@lang       : en
@default    : 
@help       : %About
@options    : +g -i -t4 +y +z
@width      : 100
View Ref-FilePkill()
Psignal()
Psigpending()
Psigsetmask()                                                        GEMDOS

Syntax

LONG Psigsetmask( mask )
LONG mask;

Function      Psigsetmask() defines which signals are to be blocked before
              being delivered to the calling application.

Opcode        279 (0x117)

Availability  This function is available under all MiNT versions
              integrated with MultiTOS.

Parameters    mask is a LONG bit mask which defines which signals to block
              and which signals to allow. For each bit n set, signal n
              will be blocked. For each bit n clear, signal n will be
              delivered.

Binding       move.l   mask,-(sp)
              move.w   #$117,-(sp)
              trap     #1
              addq.l   #6,sp

Return Value  Psigsetmask() returns the original mask of blocked/unblocked
              signals prior to the call or a negative GEMDOS error code.

Comments      Unlike Psigblock(), mask completely replaces the old mask
              rather than simply OR'ing it.

See Also      Pkill(), Psignal(), Psigpending()