Main Page | Class List | File List | Class Members | File Members

signal.h File Reference

#include <stdio.h>
#include <signal.h>
#include "share.h"
#include "lockfile.h"

Go to the source code of this file.

Defines

#define I_AM_PARENT   0
#define I_AM_CHILD   1
#define I_AM_GRANDCHILD   2

Functions

void set_signal_handlers (void)
void catch_signal (int sig)

Variables

int i_am


Define Documentation

#define I_AM_CHILD   1
 

Definition at line 35 of file signal.h.

Referenced by catch_signal(), and main().

#define I_AM_GRANDCHILD   2
 

Definition at line 36 of file signal.h.

Referenced by main().

#define I_AM_PARENT   0
 

Definition at line 34 of file signal.h.

Referenced by main().


Function Documentation

void catch_signal int  sig  ) 
 

Definition at line 38 of file signal.c.

References DEBUG1, DEBUG3, i_am, I_AM_CHILD, and lockfile.

void set_signal_handlers void   ) 
 

Definition at line 24 of file signal.c.

References catch_signal(), DEBUG2, DIE, and i_am.


Variable Documentation

int i_am
 

Definition at line 37 of file signal.h.

Referenced by catch_signal(), main(), and set_signal_handlers().


Generated on Fri May 26 08:40:18 2006 for RSSbgr by doxygen 1.3.6