OpenGrok
Home
Sort by relevance
Sort by last modified time
Full Search
Definition
Symbol
File Path
History
|
|
Help
Searched
refs:SIGHUP
(Results
1 - 25
of
387
) sorted by null
1
2
3
4
5
6
7
8
9
10
11
>>
/external/compiler-rt/test/msan/
chained_origin_with_signals.cc
28
signal(
SIGHUP
, SignalHandler);
29
kill(getpid(),
SIGHUP
);
30
signal(
SIGHUP
, SIG_DFL);
/external/ltp/testcases/open_posix_testsuite/conformance/interfaces/sigaction/
3-7.c
15
2. Set the signal handler for
SIGHUP
to handler
17
4. raise
SIGHUP
40
if (sigaction(
SIGHUP
, &act, 0) == -1) {
46
if (sigaction(
SIGHUP
, 0, &oact) == -1) {
52
if (raise(
SIGHUP
) == -1) {
1-7.c
17
2. Use sigaction to setup a signal handler for
SIGHUP
18
3. Raise
SIGHUP
.
40
if (sigaction(
SIGHUP
, &act, 0) == -1) {
46
if (raise(
SIGHUP
) == -1) {
28-7.c
24
* -> register a signal handler for
SIGHUP
with signal().
65
if (signal(
SIGHUP
, handler_1) == SIG_ERR) {
85
ret = sigaction(
SIGHUP
, &sa, &save);
93
ret = raise(
SIGHUP
);
106
ret = sigaction(
SIGHUP
, &save, 0);
114
ret = raise(
SIGHUP
);
22-7.c
18
3. (child) Setup a signal handler for
SIGHUP
with SA_NODEFER set
20
4. (child) raise
SIGHUP
22
6. (child, signal handler) if count is 1 then raise
SIGHUP
44
printf("
SIGHUP
caught\n");
54
printf("Raising
SIGHUP
\n");
55
raise(
SIGHUP
);
56
printf("Returning from raising
SIGHUP
\n");
72
if (sigaction(
SIGHUP
, &act, 0) == -1) {
78
if (raise(
SIGHUP
) == -1) {
25-7.c
17
3. (child) Setup a signal handler for
SIGHUP
18
4. (child) raise
SIGHUP
20
6. (child, signal handler) if count is 1 then raise
SIGHUP
41
printf("
SIGHUP
caught\n");
52
printf("Raising
SIGHUP
\n");
53
raise(
SIGHUP
);
54
printf("Returning from raising
SIGHUP
\n");
70
if (sigaction(
SIGHUP
, &act, 0) == -1) {
76
if (raise(
SIGHUP
) == -1) {
8-8.c
26
printf("Caught
SIGHUP
\n");
32
raise(
SIGHUP
);
46
sigaddset(&act.sa_mask,
SIGHUP
);
56
if (sigaction(
SIGHUP
, &act, 0) == -1) {
13-7.c
31
printf("Caught
SIGHUP
\n");
52
if (sigaction(
SIGHUP
, &act, 0) == -1) {
64
if (raise(
SIGHUP
) == -1) {
2-7.c
14
1. Call sigaction to set handler for
SIGHUP
to use handler1
15
2. Call sigaction again to set handler for
SIGHUP
to use handler2,
42
if (sigaction(
SIGHUP
, &act, 0) == -1) {
50
if (sigaction(
SIGHUP
, &act, &oact) == -1) {
4-7.c
16
3. (child) Setup a signal handler for
SIGHUP
with SIGKILL added to
18
4. (child) raise
SIGHUP
54
if (sigaction(
SIGHUP
, &act, 0) == -1) {
60
if (raise(
SIGHUP
) == -1) {
6-7.c
9
setting the SA_INFO bit in the signal mask for
SIGHUP
will result
37
if (sigaction(
SIGHUP
, &act, 0) == -1) {
43
if (raise(
SIGHUP
) == -1) {
12-33.c
30
printf("Caught
SIGHUP
\n");
51
if (sigaction(
SIGHUP
, &act, 0) == -1) {
63
if (raise(
SIGHUP
) == -1) {
12-7.c
32
printf("Caught
SIGHUP
\n");
53
if (sigaction(
SIGHUP
, &act, 0) == -1) {
73
if (raise(
SIGHUP
) == -1) {
18-7.c
24
* -> register a handler for
SIGHUP
without SA_SIGINFO, and a known function
26
* -> raise
SIGHUP
, and check the function has been called.
68
/* Install the signal handler for
SIGHUP
*/
69
ret = sigaction(
SIGHUP
, &sa, 0);
82
ret = raise(
SIGHUP
);
85
perror("Failed to raise
SIGHUP
");
4-33.c
16
3. (child) Setup a signal handler for
SIGHUP
with SIGSTOP added to
18
4. (child) raise
SIGHUP
53
if (sigaction(
SIGHUP
, &act, 0) == -1) {
59
if (raise(
SIGHUP
) == -1) {
8-7.c
31
printf("Caught
SIGHUP
\n");
47
if (sigaction(
SIGHUP
, &act, 0) == -1) {
62
if (raise(
SIGHUP
) == -1) {
/external/ltp/testcases/kernel/io/disktest/
signals.h
36
#define
SIGHUP
0x01 /* Definition from POSIX */
/external/valgrind/none/tests/
pending.stdout.exp
6
6: checking
SIGHUP
still pending...
/external/chromium-trace/catapult/devil/devil/android/
device_signal.py
11
SIGHUP
= 1 # Hangup
/external/libmojo/third_party/catapult/devil/devil/android/
device_signal.py
11
SIGHUP
= 1 # Hangup
/external/toybox/toys/posix/
nohup.c
1
/* nohup.c - run commandline with
SIGHUP
blocked.
24
xsignal(
SIGHUP
, SIG_IGN);
/external/ltp/testcases/open_posix_testsuite/conformance/interfaces/sigpending/
1-1.c
33
(sigaddset(&blockset,
SIGHUP
) == -1) ||
61
if (sigismember(&pendingset,
SIGHUP
) == 0) {
/external/libedit/src/
sig.h
55
_DO(
SIGHUP
) \
/external/ltp/testcases/network/stress/ns-tools/
killall_tcp_traffic
58
# Send
SIGHUP
both server and client
59
killall -
SIGHUP
ns-tcpserver >/dev/null 2>&1
60
$LTP_RSH $RHOST "killall -
SIGHUP
ns-tcpclient" >/dev/null 2>&1
76
killall -
SIGHUP
ns-tcpserver >/dev/null 2>&1
100
$LTP_RSH $RHOST "killall -
SIGHUP
ns-tcpclient" >/dev/null 2>&1
killall_udp_traffic
58
# Send
SIGHUP
both server and client
59
killall -
SIGHUP
ns-udpserver >/dev/null 2>&1
60
$LTP_RSH $RHOST "killall -
SIGHUP
ns-udpclient" >/dev/null 2>&1
76
killall -
SIGHUP
ns-udpserver >/dev/null 2>&1
99
$LTP_RSH $RHOST "killall -
SIGHUP
ns-udpclient" >/dev/null 2>&1
Completed in 2498 milliseconds
1
2
3
4
5
6
7
8
9
10
11
>>