fehQlibs 26
Qlibs
Loading...
Searching...
No Matches
Functions | Variables
sig.c File Reference

signal handling functions More...

#include <signal.h>
#include "sig.h"
Include dependency graph for sig.c:

Go to the source code of this file.

Functions

void sig_alarmblock ()
 
void sig_alarmunblock ()
 
void sig_alarmcatch (void(*f)(int))
 
void sig_alarmdefault ()
 
void sig_block (int sig)
 
void sig_unblock (int sig)
 
void sig_blocknone ()
 
void sig_catch (int sig, void(*f)(int))
 
void sig_pause ()
 
void sig_pipeignore ()
 
void sig_pipedefault ()
 
void sig_childblock ()
 
void sig_childunblock ()
 
void sig_childcatch (void(*f)(int))
 
void sig_childdefault ()
 
void sig_hangupblock ()
 
void sig_hangupunblock ()
 
void sig_hangupcatch (void(*f)(int))
 
void sig_hangupdefault ()
 
void sig_termblock ()
 
void sig_termunblock ()
 
void sig_termcatch (void(*f)(int))
 
void sig_termdefault ()
 
void sig_bugcatch (void(*f)(int))
 
void sig_miscignore ()
 

Variables

int sig_alarm = SIGALRM
 
int sig_pipe = SIGPIPE
 
int sig_child = SIGCHLD
 
int sig_hangup = SIGHUP
 
int sig_term = SIGTERM
 
void(* sig_defaulthandler )(int) = SIG_DFL
 
void(* sig_ignorehandler )() = SIG_IGN
 
int sig_cont = SIGCONT
 

Detailed Description

signal handling functions

Authors
djb, jmh qmail

Definition in file sig.c.

Function Documentation

◆ sig_alarmblock()

void sig_alarmblock ( void  )

Definition at line 11 of file sig.c.

Here is the call graph for this function:

◆ sig_alarmcatch()

void sig_alarmcatch ( void(*)(int)  f)

Definition at line 19 of file sig.c.

Here is the call graph for this function:

◆ sig_alarmdefault()

void sig_alarmdefault ( void  )

Definition at line 23 of file sig.c.

Here is the call graph for this function:

◆ sig_alarmunblock()

void sig_alarmunblock ( void  )

Definition at line 15 of file sig.c.

Here is the call graph for this function:

◆ sig_block()

void sig_block ( int  sig)

Definition at line 30 of file sig.c.

Here is the caller graph for this function:

◆ sig_blocknone()

void sig_blocknone ( void  )

Definition at line 46 of file sig.c.

◆ sig_bugcatch()

void sig_bugcatch ( void(*)(int)  f)

Definition at line 137 of file sig.c.

Here is the call graph for this function:

◆ sig_catch()

void sig_catch ( int  sig,
void(*)(int)  f 
)

Definition at line 53 of file sig.c.

Here is the caller graph for this function:

◆ sig_childblock()

void sig_childblock ( void  )

Definition at line 80 of file sig.c.

Here is the call graph for this function:

◆ sig_childcatch()

void sig_childcatch ( void(*)(int)  f)

Definition at line 88 of file sig.c.

Here is the call graph for this function:

◆ sig_childdefault()

void sig_childdefault ( void  )

Definition at line 92 of file sig.c.

Here is the call graph for this function:

◆ sig_childunblock()

void sig_childunblock ( void  )

Definition at line 84 of file sig.c.

Here is the call graph for this function:

◆ sig_hangupblock()

void sig_hangupblock ( void  )

Definition at line 99 of file sig.c.

Here is the call graph for this function:

◆ sig_hangupcatch()

void sig_hangupcatch ( void(*)(int)  f)

Definition at line 107 of file sig.c.

Here is the call graph for this function:

◆ sig_hangupdefault()

void sig_hangupdefault ( void  )

Definition at line 111 of file sig.c.

Here is the call graph for this function:

◆ sig_hangupunblock()

void sig_hangupunblock ( void  )

Definition at line 103 of file sig.c.

Here is the call graph for this function:

◆ sig_miscignore()

void sig_miscignore ( void  )

Definition at line 153 of file sig.c.

Here is the call graph for this function:

◆ sig_pause()

void sig_pause ( void  )

Definition at line 62 of file sig.c.

◆ sig_pipedefault()

void sig_pipedefault ( void  )

Definition at line 73 of file sig.c.

Here is the call graph for this function:

◆ sig_pipeignore()

void sig_pipeignore ( void  )

Definition at line 69 of file sig.c.

Here is the call graph for this function:

◆ sig_termblock()

void sig_termblock ( void  )

Definition at line 118 of file sig.c.

Here is the call graph for this function:

◆ sig_termcatch()

void sig_termcatch ( void(*)(int)  f)

Definition at line 126 of file sig.c.

Here is the call graph for this function:

◆ sig_termdefault()

void sig_termdefault ( void  )

Definition at line 130 of file sig.c.

Here is the call graph for this function:

◆ sig_termunblock()

void sig_termunblock ( void  )

Definition at line 122 of file sig.c.

Here is the call graph for this function:

◆ sig_unblock()

void sig_unblock ( int  sig)

Definition at line 38 of file sig.c.

Here is the caller graph for this function:

Variable Documentation

◆ sig_alarm

int sig_alarm = SIGALRM

Definition at line 28 of file sig.c.

◆ sig_child

int sig_child = SIGCHLD

Definition at line 97 of file sig.c.

◆ sig_cont

int sig_cont = SIGCONT

Definition at line 169 of file sig.c.

◆ sig_defaulthandler

void(* sig_defaulthandler) (int) ( int  ) = SIG_DFL

Definition at line 151 of file sig.c.

◆ sig_hangup

int sig_hangup = SIGHUP

Definition at line 116 of file sig.c.

◆ sig_ignorehandler

void(* sig_ignorehandler) () ( ) = SIG_IGN

Definition at line 167 of file sig.c.

◆ sig_pipe

int sig_pipe = SIGPIPE

Definition at line 78 of file sig.c.

◆ sig_term

int sig_term = SIGTERM

Definition at line 135 of file sig.c.