GRASS GIS 7 Programmer's Manual
7.0.5(2016)-r00000
sighold.c
Go to the documentation of this file.
1
14
#include <signal.h>
15
#include <grass/config.h>
16
24
int
M__hold_signals
(
int
hold)
25
{
26
RETSIGTYPE (*sig)() = hold ? SIG_IGN : SIG_DFL;
27
28
signal(SIGINT, sig);
29
30
#ifndef __MINGW32__
31
signal(SIGQUIT, sig);
32
#endif
33
34
#ifdef SIGTSTP
35
signal(SIGTSTP, sig);
36
#endif
37
38
return
0;
39
}
M__hold_signals
int M__hold_signals(int hold)
Hold signals.
Definition:
sighold.c:24
manage
sighold.c
Generated on Thu Dec 1 2016 19:05:05 for GRASS GIS 7 Programmer's Manual by
1.8.12