Searched refs:act (Results 76 - 100 of 597) sorted by relevance

1234567891011>>

/haiku-fatelf/src/tests/system/libroot/posix/posixtestsuite/conformance/interfaces/sigaction/
H A D2-7.c36 struct sigaction act; local
39 act.sa_handler = handler1;
40 act.sa_flags = 0;
41 sigemptyset(&act.sa_mask);
42 if (sigaction(SIGHUP, &act, 0) == -1) {
48 act.sa_handler = handler2;
49 sigemptyset(&act.sa_mask);
50 if (sigaction(SIGHUP, &act, &oact) == -1) {
H A D2-8.c36 struct sigaction act; local
39 act.sa_handler = handler1;
40 act.sa_flags = 0;
41 sigemptyset(&act.sa_mask);
42 if (sigaction(SIGILL, &act, 0) == -1) {
48 act.sa_handler = handler2;
49 sigemptyset(&act.sa_mask);
50 if (sigaction(SIGILL, &act, &oact) == -1) {
H A D2-9.c36 struct sigaction act; local
39 act.sa_handler = handler1;
40 act.sa_flags = 0;
41 sigemptyset(&act.sa_mask);
42 if (sigaction(SIGINT, &act, 0) == -1) {
48 act.sa_handler = handler2;
49 sigemptyset(&act.sa_mask);
50 if (sigaction(SIGINT, &act, &oact) == -1) {
H A D8-1.c41 struct sigaction act; local
43 act.sa_handler = SIGABRT_handler;
44 act.sa_flags = 0;
45 sigemptyset(&act.sa_mask);
46 sigaddset(&act.sa_mask, SIGXFSZ);
47 if (sigaction(SIGABRT, &act, 0) == -1) {
53 act.sa_handler = SIGXFSZ_handler;
54 act.sa_flags = 0;
55 sigemptyset(&act.sa_mask);
56 if (sigaction(SIGXFSZ, &act,
[all...]
H A D8-10.c41 struct sigaction act; local
43 act.sa_handler = SIGPIPE_handler;
44 act.sa_flags = 0;
45 sigemptyset(&act.sa_mask);
46 sigaddset(&act.sa_mask, SIGINT);
47 if (sigaction(SIGPIPE, &act, 0) == -1) {
53 act.sa_handler = SIGINT_handler;
54 act.sa_flags = 0;
55 sigemptyset(&act.sa_mask);
56 if (sigaction(SIGINT, &act,
[all...]
H A D8-11.c41 struct sigaction act; local
43 act.sa_handler = SIGQUIT_handler;
44 act.sa_flags = 0;
45 sigemptyset(&act.sa_mask);
46 sigaddset(&act.sa_mask, SIGPIPE);
47 if (sigaction(SIGQUIT, &act, 0) == -1) {
53 act.sa_handler = SIGPIPE_handler;
54 act.sa_flags = 0;
55 sigemptyset(&act.sa_mask);
56 if (sigaction(SIGPIPE, &act,
[all...]
H A D8-12.c41 struct sigaction act; local
43 act.sa_handler = SIGSEGV_handler;
44 act.sa_flags = 0;
45 sigemptyset(&act.sa_mask);
46 sigaddset(&act.sa_mask, SIGQUIT);
47 if (sigaction(SIGSEGV, &act, 0) == -1) {
53 act.sa_handler = SIGQUIT_handler;
54 act.sa_flags = 0;
55 sigemptyset(&act.sa_mask);
56 if (sigaction(SIGQUIT, &act,
[all...]
H A D8-13.c41 struct sigaction act; local
43 act.sa_handler = SIGTERM_handler;
44 act.sa_flags = 0;
45 sigemptyset(&act.sa_mask);
46 sigaddset(&act.sa_mask, SIGSEGV);
47 if (sigaction(SIGTERM, &act, 0) == -1) {
53 act.sa_handler = SIGSEGV_handler;
54 act.sa_flags = 0;
55 sigemptyset(&act.sa_mask);
56 if (sigaction(SIGSEGV, &act,
[all...]
H A D8-14.c41 struct sigaction act; local
43 act.sa_handler = SIGTSTP_handler;
44 act.sa_flags = 0;
45 sigemptyset(&act.sa_mask);
46 sigaddset(&act.sa_mask, SIGTERM);
47 if (sigaction(SIGTSTP, &act, 0) == -1) {
53 act.sa_handler = SIGTERM_handler;
54 act.sa_flags = 0;
55 sigemptyset(&act.sa_mask);
56 if (sigaction(SIGTERM, &act,
[all...]
H A D8-15.c41 struct sigaction act; local
43 act.sa_handler = SIGTTIN_handler;
44 act.sa_flags = 0;
45 sigemptyset(&act.sa_mask);
46 sigaddset(&act.sa_mask, SIGTSTP);
47 if (sigaction(SIGTTIN, &act, 0) == -1) {
53 act.sa_handler = SIGTSTP_handler;
54 act.sa_flags = 0;
55 sigemptyset(&act.sa_mask);
56 if (sigaction(SIGTSTP, &act,
[all...]
H A D8-16.c41 struct sigaction act; local
43 act.sa_handler = SIGTTOU_handler;
44 act.sa_flags = 0;
45 sigemptyset(&act.sa_mask);
46 sigaddset(&act.sa_mask, SIGTTIN);
47 if (sigaction(SIGTTOU, &act, 0) == -1) {
53 act.sa_handler = SIGTTIN_handler;
54 act.sa_flags = 0;
55 sigemptyset(&act.sa_mask);
56 if (sigaction(SIGTTIN, &act,
[all...]
H A D8-17.c41 struct sigaction act; local
43 act.sa_handler = SIGUSR1_handler;
44 act.sa_flags = 0;
45 sigemptyset(&act.sa_mask);
46 sigaddset(&act.sa_mask, SIGTTOU);
47 if (sigaction(SIGUSR1, &act, 0) == -1) {
53 act.sa_handler = SIGTTOU_handler;
54 act.sa_flags = 0;
55 sigemptyset(&act.sa_mask);
56 if (sigaction(SIGTTOU, &act,
[all...]
H A D8-18.c41 struct sigaction act; local
43 act.sa_handler = SIGUSR2_handler;
44 act.sa_flags = 0;
45 sigemptyset(&act.sa_mask);
46 sigaddset(&act.sa_mask, SIGUSR1);
47 if (sigaction(SIGUSR2, &act, 0) == -1) {
53 act.sa_handler = SIGUSR1_handler;
54 act.sa_flags = 0;
55 sigemptyset(&act.sa_mask);
56 if (sigaction(SIGUSR1, &act,
[all...]
H A D8-19.c41 struct sigaction act; local
43 act.sa_handler = SIGPOLL_handler;
44 act.sa_flags = 0;
45 sigemptyset(&act.sa_mask);
46 sigaddset(&act.sa_mask, SIGUSR2);
47 if (sigaction(SIGPOLL, &act, 0) == -1) {
53 act.sa_handler = SIGUSR2_handler;
54 act.sa_flags = 0;
55 sigemptyset(&act.sa_mask);
56 if (sigaction(SIGUSR2, &act,
[all...]
H A D8-2.c41 struct sigaction act; local
43 act.sa_handler = SIGALRM_handler;
44 act.sa_flags = 0;
45 sigemptyset(&act.sa_mask);
46 sigaddset(&act.sa_mask, SIGABRT);
47 if (sigaction(SIGALRM, &act, 0) == -1) {
53 act.sa_handler = SIGABRT_handler;
54 act.sa_flags = 0;
55 sigemptyset(&act.sa_mask);
56 if (sigaction(SIGABRT, &act,
[all...]
H A D8-20.c41 struct sigaction act; local
43 act.sa_handler = SIGPROF_handler;
44 act.sa_flags = 0;
45 sigemptyset(&act.sa_mask);
46 sigaddset(&act.sa_mask, SIGPOLL);
47 if (sigaction(SIGPROF, &act, 0) == -1) {
53 act.sa_handler = SIGPOLL_handler;
54 act.sa_flags = 0;
55 sigemptyset(&act.sa_mask);
56 if (sigaction(SIGPOLL, &act,
[all...]
H A D8-21.c41 struct sigaction act; local
43 act.sa_handler = SIGSYS_handler;
44 act.sa_flags = 0;
45 sigemptyset(&act.sa_mask);
46 sigaddset(&act.sa_mask, SIGPROF);
47 if (sigaction(SIGSYS, &act, 0) == -1) {
53 act.sa_handler = SIGPROF_handler;
54 act.sa_flags = 0;
55 sigemptyset(&act.sa_mask);
56 if (sigaction(SIGPROF, &act,
[all...]
H A D8-22.c41 struct sigaction act; local
43 act.sa_handler = SIGTRAP_handler;
44 act.sa_flags = 0;
45 sigemptyset(&act.sa_mask);
46 sigaddset(&act.sa_mask, SIGSYS);
47 if (sigaction(SIGTRAP, &act, 0) == -1) {
53 act.sa_handler = SIGSYS_handler;
54 act.sa_flags = 0;
55 sigemptyset(&act.sa_mask);
56 if (sigaction(SIGSYS, &act,
[all...]
H A D8-23.c41 struct sigaction act; local
43 act.sa_handler = SIGURG_handler;
44 act.sa_flags = 0;
45 sigemptyset(&act.sa_mask);
46 sigaddset(&act.sa_mask, SIGTRAP);
47 if (sigaction(SIGURG, &act, 0) == -1) {
53 act.sa_handler = SIGTRAP_handler;
54 act.sa_flags = 0;
55 sigemptyset(&act.sa_mask);
56 if (sigaction(SIGTRAP, &act,
[all...]
H A D8-24.c41 struct sigaction act; local
43 act.sa_handler = SIGVTALRM_handler;
44 act.sa_flags = 0;
45 sigemptyset(&act.sa_mask);
46 sigaddset(&act.sa_mask, SIGURG);
47 if (sigaction(SIGVTALRM, &act, 0) == -1) {
53 act.sa_handler = SIGURG_handler;
54 act.sa_flags = 0;
55 sigemptyset(&act.sa_mask);
56 if (sigaction(SIGURG, &act,
[all...]
H A D8-25.c41 struct sigaction act; local
43 act.sa_handler = SIGXCPU_handler;
44 act.sa_flags = 0;
45 sigemptyset(&act.sa_mask);
46 sigaddset(&act.sa_mask, SIGVTALRM);
47 if (sigaction(SIGXCPU, &act, 0) == -1) {
53 act.sa_handler = SIGVTALRM_handler;
54 act.sa_flags = 0;
55 sigemptyset(&act.sa_mask);
56 if (sigaction(SIGVTALRM, &act,
[all...]
H A D8-26.c41 struct sigaction act; local
43 act.sa_handler = SIGXFSZ_handler;
44 act.sa_flags = 0;
45 sigemptyset(&act.sa_mask);
46 sigaddset(&act.sa_mask, SIGXCPU);
47 if (sigaction(SIGXFSZ, &act, 0) == -1) {
53 act.sa_handler = SIGXCPU_handler;
54 act.sa_flags = 0;
55 sigemptyset(&act.sa_mask);
56 if (sigaction(SIGXCPU, &act,
[all...]
H A D8-3.c41 struct sigaction act; local
43 act.sa_handler = SIGBUS_handler;
44 act.sa_flags = 0;
45 sigemptyset(&act.sa_mask);
46 sigaddset(&act.sa_mask, SIGALRM);
47 if (sigaction(SIGBUS, &act, 0) == -1) {
53 act.sa_handler = SIGALRM_handler;
54 act.sa_flags = 0;
55 sigemptyset(&act.sa_mask);
56 if (sigaction(SIGALRM, &act,
[all...]
H A D8-4.c41 struct sigaction act; local
43 act.sa_handler = SIGCHLD_handler;
44 act.sa_flags = 0;
45 sigemptyset(&act.sa_mask);
46 sigaddset(&act.sa_mask, SIGBUS);
47 if (sigaction(SIGCHLD, &act, 0) == -1) {
53 act.sa_handler = SIGBUS_handler;
54 act.sa_flags = 0;
55 sigemptyset(&act.sa_mask);
56 if (sigaction(SIGBUS, &act,
[all...]
/haiku-fatelf/src/tests/system/libroot/posix/posixtestsuite/conformance/interfaces/sigaction/templates/
H A Dtemplate_2-1.in36 struct sigaction act;
39 act.sa_handler = handler1;
40 act.sa_flags = 0;
41 sigemptyset(&act.sa_mask);
42 if (sigaction(%%MYSIG%%, &act, 0) == -1) {
48 act.sa_handler = handler2;
49 sigemptyset(&act.sa_mask);
50 if (sigaction(%%MYSIG%%, &act, &oact) == -1) {

Completed in 160 milliseconds

1234567891011>>