Home | History | Annotate | Download | only in tcpdump

Lines Matching full:signal

33 #include <signal.h>
45 * An OS-independent signal() with, whenever possible, partial BSD
46 * semantics, i.e. the signal handler is restored following service
47 * of the signal, but system calls are *not* restarted, so that if
48 * "pcap_breakloop()" is called in a signal handler in a live capture,
53 * We use "sigaction()" if available. We don't specify that the signal
57 * while "signal()" has traditional semantics, so we use "sigset()"; it
58 * might cause system calls to be restarted for the signal, however.
65 * Otherwise, we use "signal()" - which means we might get traditional
67 * signal handler is reset to SIG_DFL and the signal is not blocked,
68 * so that a subsequent signal would kill the process immediately.
89 return (signal(sig, func));