•  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-FilePsignal()
Psigreturn()                                                         GEMDOS

Syntax

VOID Psigreturn( VOID )

Function      Psigreturn() prepares exit from a signal handler not
              planning to return via a 680x0 RTS.

Opcode        282 (0x11A)

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

Binding       move.w   #$11A,-(sp)
              trap     #1
              addq.l   #2,sp

Caveats       Calling this function and then calling the 680x0 RTS opcode
              to return will produce undesired results.

Comments      Psigreturn() is only needed by 'C' programs which intend to
              exit the signal handler by doing a 'C' longjmp() rather than
              simply using the 680x0 RTS.

See Also      Psignal()