]> diplodocus.org Git - nmh/blob - h/signals.h
fgets() reserves space for the NUL itself.
[nmh] / h / signals.h
1
2 /*
3 * signals.h -- header file for nmh signal interface
4 */
5
6 #ifdef HAVE_CONFIG_H
7 # include <config.h>
8 #endif
9
10 #include <signal.h>
11
12 /*
13 * The type for a signal handler
14 */
15 typedef void (*SIGNAL_HANDLER)(int);
16
17 /*
18 * prototypes
19 */
20 SIGNAL_HANDLER SIGNAL (int, SIGNAL_HANDLER);
21 SIGNAL_HANDLER SIGNAL2 (int, SIGNAL_HANDLER);