Psigreturn
Section: Oct. 1, 1991
(2)
Updated: MiNT Programmer's Manual
Index
Return to Main Contents
NAME
Psigreturn - exit from a signal handler
SYNOPSIS
void Psigreturn();
DESCRIPTION
Psigreturn
is used to prepare to exit from a signal handler. This is done automatically
by the kernel when a signal handler returns, so it is needed only before
a program uses the C
longjmp
function (or some similar facility) to do a non-local jump.
Psigreturn
will fail (harmlessly) if no signal is being processed at the time it is
called.
Note that the MiNT library
longjmp
function already contains a call to
Psigreturn,
so if you're using that library you don't need to worry about this.
SEE ALSO
Psignal(2)
BUGS
Calling
Psigreturn
from a signal handler, and then actually returning from that handler, is
likely to produce extremely unpleasant results.
Index
- NAME
-
- SYNOPSIS
-
- DESCRIPTION
-
- SEE ALSO
-
- BUGS
-
This document was created by
man2html,
using the manual pages.
Time: 23:26:11 GMT, January 03, 2023