signal.c File Reference

Signal handeling routines. More...

Go to the source code of this file.

Functions

Sigfuncsignal (int signo, Sigfunc *func)
 Replace the standard signal() function, with a more reliable using sigaction.

void set_alarm_handler (void *func)
 Set a handler for the alarm signal, SIGALRM using sigaction.


Detailed Description

Signal handeling routines.

Author:
W. Richard Stevens <heaven> , Jan-Henrik Haukeland, <hauk@tildeslash.com>
Version:
$Id: signal.c,v 1.4 2002/08/26 16:28:39 chopp Exp $

Definition in file signal.c.


Function Documentation

void set_alarm_handler void *    func
 

Set a handler for the alarm signal, SIGALRM using sigaction.

Definition at line 75 of file signal.c.

Sigfunc* signal int    signo,
Sigfunc   func
 

Replace the standard signal() function, with a more reliable using sigaction.

From W. Richard Stevens' "Advanced Programming in the UNIX Environment"

Definition at line 47 of file signal.c.

References Sigfunc.

Referenced by daemonize(), and spawn().