◄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... -♦-