FreeBASIC  0.91.0
signals.c File Reference
#include "fb.h"
#include <signal.h>
Include dependency graph for signals.c:

Go to the source code of this file.

Data Structures

struct  _FB_SIGHANDLER
 

Macros

#define FB_SETUPSIGNAL(n, h)
 

Typedefs

typedef struct _FB_SIGHANDLER FB_SIGHANDLER
 

Functions

static void gen_handler (int sig)
 
FBCALL void fb_InitSignals (void)
 

Variables

static FB_SIGHANDLER sigTb [NSIG]
 

Macro Definition Documentation

#define FB_SETUPSIGNAL (   n,
 
)
Value:
sigTb[n].oldhnd = signal( n, h ); \
sigTb[n].errnum = FB_RTERROR_##n;

Definition at line 41 of file signals.c.

Typedef Documentation

typedef struct _FB_SIGHANDLER FB_SIGHANDLER

Function Documentation

FBCALL void fb_InitSignals ( void  )

Definition at line 65 of file signals.c.

Here is the call graph for this function:

static void gen_handler ( int  sig)
static

Definition at line 45 of file signals.c.

Here is the call graph for this function:

Here is the caller graph for this function:

Variable Documentation

FB_SIGHANDLER sigTb[NSIG]
static

Definition at line 39 of file signals.c.