Important Notice
The pages on this site contain documentation for very old MS-DOS software,
purely for historical purposes.
If you're looking for up-to-date documentation, particularly for programming,
you should not rely on the information found here, as it will be woefully
out of date.
signal
◄Description► ◄Example► ◄Up► ◄Contents► ◄Index► ◄Back►
────────────────────────────────────────────────────────────────────────────
Include: <signal.h>
Syntax: void (*signal( int sig, void( *func )
(int sig [, int subcode ] )))( int sig );
sig: SIGABRT, SIGBREAK, SIGFPE, SIGILL, SIGINT, SIGSEGV,
SIGTERM, SIGUSR1, SIGUSR2, SIGUSR3
Returns: the previous value of <func> if successful, or
SIG_ERR if not.
See also: abort, execl..., execv..., exit, _exit, _fpreset,
spawnl..., spawnv...
-♦-