#include <sys/types.h>#include <sys/times.h>#include <sys/wait.h>#include <errno.h>#include <signal.h>#include <setjmp.h>#include <stdlib.h>#include <unistd.h>#include <stdio.h>Include dependency graph for test37.c:

Go to the source code of this file.
Defines | |
| #define | ITERATIONS 2 |
| #define | SIGS 14 |
| #define | MAX_ERROR 4 |
Functions | |
| _PROTOTYPE (int main,(int argc, char *argv[])) | |
| _PROTOTYPE (void test37a,(void)) | |
| _PROTOTYPE (void func1,(int sig)) | |
| _PROTOTYPE (void catch1,(int signo)) | |
| _PROTOTYPE (void catch14,(int signo, int code, struct sigcontext *scp)) | |
| _PROTOTYPE (void wait_for,(int pid)) | |
| _PROTOTYPE (void e,(int n)) | |
| int | main (int argc, argv) |
| void | test37a () |
| void | func1 (int sig) |
| void | func2 (int sig) |
| void | test37b () |
| void | catch1 (int signo) |
| void | catch2 (int signo) |
| void | test37c () |
| void | catch3 (int signo) |
| void | test37d () |
| void | catch4 (int signo) |
| void | test37e () |
| void | catch5 (int signo) |
| void | test37f () |
| void | sigint_handler (int signo) |
| void | sigpipe_handler (int signo) |
| void | test37g () |
| void | sighup8 (int signo) |
| void | sigpip8 (int signo) |
| void | sigter8 (int signo) |
| void | test37h () |
| void | sighup9 (int signo) |
| void | sigter9 (int signo) |
| void | test37i () |
| void | sighup10 (int signo) |
| void | sigalrm_handler10 (int signo) |
| void | test37j () |
| void | test37k () |
| void | test37l () |
| void | test37m () |
| void | longjerr () |
| void | catch14 (int signo, int code, struct sigcontext *scp) |
| void | test37n () |
| void | catch15 (int signo) |
| void | test37o () |
| void | clearsigstate () |
| void | quit () |
| void | wait_for (pid_t pid) |
| void | e (int n) |
Variables | |
| int | iteration |
| int | cumsig |
| int | subtest |
| int | errct = 0 |
| int | sig1 |
| int | sig2 |
| int | sigarray [SIGS] |
| int | x |
| sigset_t | glo_vol_set |
| static int | y |
| static int | z |
| jmp_buf | glo_jb |
|
|
|
|
|
|
|
|
Definition at line 17 of file test37.c. Referenced by test37b(). |
|
||||||||||||
|
|
|
||||||||||||
|
|
|
||||||||||||
|
|
|
||||||||||||
|
|
|
||||||||||||
|
|
|
||||||||||||
|
|
|
||||||||||||
|
|
|
|
|
|
||||||||||||||||
|
|
|
|
|
|
|
Definition at line 384 of file test37.c. References e, NULL, and sigprocmask. |
|
|
|
|
|
Definition at line 510 of file test37.c. References e, NULL, set(), sigaddset, sigemptyset, SIGHUP, SIGINT, SIGPIPE, sigprocmask, and SIGTERM. |
|
|
|
|
|
Definition at line 984 of file test37.c. References _NSIG, i, NULL, SIG_DFL, SIG_IGN, sigfillset, signal(), and sigprocmask. Referenced by test37a(), test37b(), test37c(), test37d(), test37e(), test37f(), test37g(), test37h(), test37i(), test37j(), test37m(), test37n(), and test37o(). |
|
|
Definition at line 1036 of file test37.c. References chdir, errct, errno, exit(), fprintf(), MAX_ERROR, perror(), sprintf(), stderr, subtest, and system(). |
|
|
Definition at line 206 of file test37.c. References sig1. |
|
|
Definition at line 212 of file test37.c. References sig2. |
|
|
Definition at line 896 of file test37.c. References e. |
|
||||||||||||
|
Definition at line 69 of file test37.c. References atoi, chdir, fflush(), i, iteration, ITERATIONS, m, printf, stdout, sync, system(), test37a(), test37b(), test37c(), test37d(), test37e(), test37f(), test37g(), test37h(), test37i(), test37j(), test37k(), test37l(), test37m(), test37n(), and test37o(). |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
Definition at line 108 of file test37.c. References clearsigstate(), e, s, SIGABRT, sigaddset, SIGALRM, sigdelset, sigemptyset, sigfillset, SIGFPE, SIGHUP, SIGILL, SIGINT, SIGIOT, sigismember, SIGKILL, SIGPIPE, SIGQUIT, SIGSEGV, SIGTERM, SIGTRAP, SIGUSR1, SIGUSR2, and subtest. Referenced by main(). |
|
|
Definition at line 218 of file test37.c. References _NSIG, clearsigstate(), e, EINVAL, errno, getpid, i, kill, NULL, p, s, SIG_DFL, SIG_IGN, sigaction, sigaddset, sigdelset, sigemptyset, sigfillset, SIGHUP, SIGILL, SIGKILL, sigpending, SIGPIPE, sigprocmask, SIGS, SIGSTOP, and subtest. Referenced by main(). |
|
|
Definition at line 394 of file test37.c. References _NSIG, clearsigstate(), e, errct, exit(), fork, kill, NULL, pid, SIG_DFL, SIG_ERR, SIG_IGN, SIGINT, sigismember, signal(), sigprocmask, SIGTERM, sleep, subtest, and wait_for(). Referenced by main(). |
|
|
Definition at line 485 of file test37.c. References clearsigstate(), e, getpid, kill, NULL, sigaction, SIGHUP, and subtest. Referenced by main(). |
|
|
Definition at line 525 of file test37.c. References clearsigstate(), e, getpid, kill, NULL, set(), sigaction, sigaddset, sigemptyset, SIGHUP, SIGINT, SIGPIPE, sigprocmask, SIGTERM, and subtest. Referenced by main(). |
|
|
Definition at line 560 of file test37.c. References clearsigstate(), e, EINTR, errct, errno, exit(), fork, getppid, kill, NULL, pid, r, set(), sigaction, sigemptyset, SIGINT, sigsuspend, sleep, subtest, and wait_for(). Referenced by main(). |
|
|
Definition at line 620 of file test37.c. References clearsigstate(), e, EINTR, errct, errno, exit(), fork, getppid, kill, NULL, pid, r, set(), sigaction, sigaddset, sigemptyset, SIGINT, SIGPIPE, sigsuspend, sleep, subtest, and wait_for(). Referenced by main(). |
|
|
Definition at line 697 of file test37.c. References clearsigstate(), e, EINTR, errct, errno, exit(), fork, getppid, kill, NULL, pid, r, set(), sigaction, sigaddset, sigemptyset, SIGHUP, SIGPIPE, sigsuspend, SIGTERM, sleep, subtest, and wait_for(). Referenced by main(). |
|
|
Definition at line 764 of file test37.c. References clearsigstate(), e, getpid, kill, NULL, set(), sigaction, sigaddset, sigemptyset, SIGHUP, sigprocmask, SIGTERM, and subtest. Referenced by main(). |
|
|
Definition at line 823 of file test37.c. References alarm, clearsigstate(), e, getpid, kill, NULL, set(), sigaction, sigaddset, SIGALRM, sigemptyset, SIGHUP, sigpending, sigprocmask, sleep, and subtest. Referenced by main(). |
|
|
Definition at line 861 of file test37.c. References subtest. Referenced by main(). |
|
|
Definition at line 865 of file test37.c. References subtest. Referenced by main(). |
|
|
Definition at line 876 of file test37.c. References clearsigstate(), e, NULL, setjmp, sigprocmask, and subtest. Referenced by main(). |
|
|
Definition at line 925 of file test37.c. References _PROTOTYPE, clearsigstate(), e, getpid, kill, NULL, sigaction, SIGSEGV, and subtest. Referenced by main(). |
|
|
Definition at line 962 of file test37.c. References clearsigstate(), e, getpid, glo_jb, k, kill, NULL, setjmp, sigaction, SIGALRM, and subtest. Referenced by main(). |
|
|
Definition at line 1011 of file test37.c. References e, errno, r, status, and wait. Referenced by test37c(), test37f(), test37g(), and test37h(). |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
Definition at line 20 of file test37.c. Referenced by func1(). |
|
|
Definition at line 20 of file test37.c. Referenced by func2(). |
|
|
Initial value: |
|
|
|
|
|
Definition at line 375 of file test37.c. Referenced by _ext_str_cvt(), add(), add_exponent(), add_ext(), Arith(), Assign(), bottom_line(), change(), Cond(), delete(), DN(), Do(), DPC(), encrypt(), escape(), f(), file_insert(), For(), format(), getfval(), getLong(), GOTO(), inindex(), initialize(), LF(), lookup(), main(), makepathtables(), Mathfun(), move(), option(), P1stat(), P2stat(), print_cycle(), pushname(), RD(), read_string(), RT(), S(), SD(), show(), source(), Strfun(), SU(), timing_dmp(), topo(), transformline(), transpose(), unzlocal_getLong(), unzlocal_getShort(), UP(), upd_curs(), update(), user_interface(), v_popup(), waddch(), wclrtoeol(), wdelch(), While(), winsch(), ziplocal_getLong(), and ziplocal_getShort(). |
|
|
|
|
|
Definition at line 470 of file test37.c. Referenced by _log(), alloc_zone(), cxsize(), eat_dir(), eat_file(), ed_case(), enter_dir(), get_fileblock(), log(), main(), new_block(), r_vir2abs(), read_map(), readline(), rootdir(), sinh_cosh(), update(), and write_map(). |
1.4.6