•  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-FilePsigaction()
Pause()
Psigpause()                                                          GEMDOS

Syntax

LONG Psigpause( mask )
LONG mask;

Function      Psigpause() sets a new signal mask and then suspends the
              process until a signal is received.

Opcode        310 (0x136)

Availability  Available when a 'MiNT' cookie with a version of at least
              0.95 exists.

Parameters    mask specifies the signal mask to wait for.

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

Return Value  Psigpause() returns 0 if successful or non-zero otherwise.

Comments      Depending on the state of the signal handler, this call may
              never return.

See Also      Psigaction(), Pause()