fehQlibs 26
Qlibs
Loading...
Searching...
No Matches
sig.h
Go to the documentation of this file.
1#ifndef SIG_H
2#define SIG_H
3
4/*
5 * Revision 20240720, Erwin Hoffmann, jmh
6 * Revision 20160714, Kai Peter
7 * - updated some declarations no new(er) one's from ucspi-tcp-0.88
8*/
9
10/* new(er) declarations from ucspi-tcp-0.88: */
11extern int sig_alarm;
12extern int sig_child;
13extern int sig_cont;
14extern int sig_hangup;
15extern int sig_pipe;
16extern int sig_term;
17
18extern void (*sig_defaulthandler)(int);
19extern void (*sig_ignorehandler)(int);
20
21extern void sig_catch(int,void (*)(int));
22#define sig_ignore(s) (sig_catch((s),sig_ignorehandler))
23#define sig_uncatch(s) (sig_catch((s),sig_defaulthandler))
24
25extern void sig_block(int);
26extern void sig_unblock(int);
27extern void sig_blocknone(void);
28extern void sig_pause(void);
29
30extern void sig_dfl(int);
31
32/* declaration of (net)qmail package (untouched) */
33extern void sig_miscignore(void);
34extern void sig_bugcatch(void (*)(int));
35
36extern void sig_pipeignore(void);
37extern void sig_pipedefault(void);
38
39extern void sig_contblock(void);
40extern void sig_contunblock(void);
41extern void sig_contcatch(void (*)(int));
42extern void sig_contdefault(void);
43
44extern void sig_termblock(void);
45extern void sig_termunblock(void);
46extern void sig_termcatch(void (*)(int));
47extern void sig_termdefault(void);
48
49extern void sig_alarmblock(void);
50extern void sig_alarmunblock(void);
51extern void sig_alarmcatch(void (*)(int));
52extern void sig_alarmdefault(void);
53
54extern void sig_childblock(void);
55extern void sig_childunblock(void);
56extern void sig_childcatch(void (*)(int));
57extern void sig_childdefault(void);
58
59extern void sig_hangupblock(void);
60extern void sig_hangupunblock(void);
61extern void sig_hangupcatch(void (*)(int));
62extern void sig_hangupdefault(void);
63
64#endif
void sig_termcatch(void(*)(int))
Definition: sig.c:126
int sig_child
Definition: sig.c:97
int sig_alarm
Definition: sig.c:28
void sig_bugcatch(void(*)(int))
Definition: sig.c:137
void sig_alarmdefault(void)
Definition: sig.c:23
void sig_termdefault(void)
Definition: sig.c:130
void sig_contblock(void)
int sig_hangup
Definition: sig.c:116
void sig_miscignore(void)
Definition: sig.c:153
void sig_catch(int, void(*)(int))
Definition: sig.c:53
void sig_childblock(void)
Definition: sig.c:80
void sig_unblock(int)
Definition: sig.c:38
void(* sig_ignorehandler)(int)
int sig_cont
Definition: sig.c:169
void sig_termblock(void)
Definition: sig.c:118
void sig_contunblock(void)
void sig_childdefault(void)
Definition: sig.c:92
void sig_alarmcatch(void(*)(int))
Definition: sig.c:19
void sig_pipedefault(void)
Definition: sig.c:73
int sig_term
Definition: sig.c:135
void sig_contdefault(void)
void sig_hangupblock(void)
Definition: sig.c:99
void sig_childunblock(void)
Definition: sig.c:84
void sig_alarmunblock(void)
Definition: sig.c:15
void sig_hangupcatch(void(*)(int))
Definition: sig.c:107
int sig_pipe
Definition: sig.c:78
void sig_alarmblock(void)
Definition: sig.c:11
void sig_dfl(int)
void sig_childcatch(void(*)(int))
Definition: sig.c:88
void sig_pause(void)
Definition: sig.c:62
void sig_blocknone(void)
Definition: sig.c:46
void sig_pipeignore(void)
Definition: sig.c:69
void sig_hangupunblock(void)
Definition: sig.c:103
void sig_contcatch(void(*)(int))
void sig_block(int)
Definition: sig.c:30
void sig_termunblock(void)
Definition: sig.c:122
void sig_hangupdefault(void)
Definition: sig.c:111
void(* sig_defaulthandler)(int)
Definition: sig.c:151