Lines Matching full:signal
28 #include <signal.h>
40 * An OS-independent signal() with, whenever possible, partial BSD
41 * semantics, i.e. the signal handler is restored following service
42 * of the signal, but system calls are *not* restarted, so that if
43 * "pcap_breakloop()" is called in a signal handler in a live capture,
48 * We use "sigaction()" if available. We don't specify that the signal
52 * while "signal()" has traditional semantics, so we use "sigset()"; it
53 * might cause system calls to be restarted for the signal, however.
60 * Otherwise, we use "signal()" - which means we might get traditional
62 * signal handler is reset to SIG_DFL and the signal is not blocked,
63 * so that a subsequent signal would kill the process immediately.
86 return (signal(sig, func));