2 PSI_CONFIG_POSIX(signal, signal.h)
6 PSI_CONST(SIG_DFL, int)
7 PSI_CONST(SIG_ERR, int)
8 PSI_CONST(SIG_HOLD, int)
9 PSI_CONST(SIG_IGN, int)
11 PSI_CONST(SIGEV_NONE, int)
12 PSI_CONST(SIGEV_SIGNAL, int)
13 PSI_CONST(SIGEV_THREAD, int)
15 PSI_MACRO(int SIGRTMIN)
16 PSI_MACRO(int SIGRTMAX)
17 PSI_MACRO(int RTSIG_MAX)
19 PSI_CONST(SIGABRT, int)
20 PSI_CONST(SIGALRM, int)
21 PSI_CONST(SIGBUS, int)
22 PSI_CONST(SIGCHLD, int)
23 PSI_CONST(SIGCONT, int)
24 PSI_CONST(SIGFPE, int)
25 PSI_CONST(SIGHUP, int)
26 PSI_CONST(SIGILL, int)
27 PSI_CONST(SIGINT, int)
28 PSI_CONST(SIGKILL, int)
29 PSI_CONST(SIGPIPE, int)
30 PSI_CONST(SIGQUIT, int)
31 PSI_CONST(SIGSEGV, int)
32 PSI_CONST(SIGSTOP, int)
33 PSI_CONST(SIGTERM, int)
34 PSI_CONST(SIGTSTP, int)
35 PSI_CONST(SIGTTIN, int)
36 PSI_CONST(SIGTTOU, int)
37 PSI_CONST(SIGUSR1, int)
38 PSI_CONST(SIGUSR2, int)
39 PSI_CONST(SIGPOLL, int)
40 PSI_CONST(SIGPROF, int)
41 PSI_CONST(SIGSYS, int)
42 PSI_CONST(SIGTRAP, int)
43 PSI_CONST(SIGURG, int)
44 PSI_CONST(SIGVTALRM, int)
45 PSI_CONST(SIGXCPU, int)
46 PSI_CONST(SIGXFSZ, int)
48 PSI_MACRO(int SIG_BLOCK)
49 PSI_MACRO(int SIG_UNBLOCK)
50 PSI_MACRO(int SIG_SETMASK)
52 PSI_CONST(SA_NOCLDSTOP, int)
53 PSI_CONST(SA_ONSTACK, int)
54 PSI_CONST(SA_RESETHAND, int)
55 PSI_CONST(SA_RESTART, int)
56 PSI_CONST(SA_SIGINFO, int)
57 PSI_CONST(SA_NOCLDWAIT, int)
58 PSI_CONST(SA_NODEFER, int)
59 PSI_CONST(SS_ONSTACK, int)
60 PSI_CONST(SS_DISABLE, int)
61 PSI_CONST(MINSIGSTKSZ, int)
62 PSI_CONST(SIGSTKSZ, int)
64 PSI_CONST(ILL_ILLOPC, int)
65 PSI_CONST(ILL_ILLOPN, int)
66 PSI_CONST(ILL_ILLADR, int)
67 PSI_CONST(ILL_ILLTRP, int)
68 PSI_CONST(ILL_PRVOPC, int)
69 PSI_CONST(ILL_PRVREG, int)
70 PSI_CONST(ILL_COPROC, int)
71 PSI_CONST(ILL_BADSTK, int)
72 PSI_CONST(FPE_INTDIV, int)
73 PSI_CONST(FPE_INTOVF, int)
74 PSI_CONST(FPE_FLTDIV, int)
75 PSI_CONST(FPE_FLTOVF, int)
76 PSI_CONST(FPE_FLTUND, int)
77 PSI_CONST(FPE_FLTRES, int)
78 PSI_CONST(FPE_FLTINV, int)
79 PSI_CONST(FPE_FLTSUB, int)
80 PSI_CONST(SEGV_MAPERR, int)
81 PSI_CONST(SEGV_ACCERR, int)
82 PSI_CONST(BUS_ADRALN, int)
83 PSI_CONST(BUS_ADRERR, int)
84 PSI_CONST(BUS_OBJERR, int)
85 PSI_CONST(TRAP_BRKPT, int)
86 PSI_CONST(TRAP_TRACE, int)
87 PSI_CONST(CLD_EXITED, int)
88 PSI_CONST(CLD_KILLED, int)
89 PSI_CONST(CLD_DUMPED, int)
90 PSI_CONST(CLD_TRAPPED, int)
91 PSI_CONST(CLD_STOPPED, int)
92 PSI_CONST(CLD_CONTINUED, int)
93 PSI_CONST(POLL_IN, int)
94 PSI_CONST(POLL_OUT, int)
95 PSI_CONST(POLL_MSG, int)
96 PSI_CONST(POLL_ERR, int)
97 PSI_CONST(POLL_PRI, int)
98 PSI_CONST(POLL_HUP, int)
99 PSI_CONST(SI_USER, int)
100 PSI_CONST(SI_QUEUE, int)
101 PSI_CONST(SI_TIMER, int)
102 PSI_CONST(SI_ASYNCIO, int)
103 PSI_CONST(SI_MESGQ, int)
105 PSI_TYPE(sig_atomic_t, int)
106 PSI_OPAQUE_TYPE(sigset_t)
107 PSI_OPAQUE_TYPE(mcontext_t)
109 PSI_UNION(union sigval, [
114 PSI_STRUCT(struct sigevent, [
117 union sigval sigev_value]
120 PSI_STRUCT(stack_t, [
126 PSI_STRUCT(struct sigaction, [
133 PSI_STRUCT(ucontext_t, [
137 mcontext_t uc_mcontext]
140 PSI_STRUCT(siginfo_t, [
149 union sigval si_value]
152 PSI_DECL(int kill, [(pid_t pid, int sig)])
153 PSI_DECL(int killpg, [(pid_t pgrp, int sig)])
154 PSI_DECL(void psiginfo, [(const siginfo_t *pinfo, const char *s)])
155 PSI_DECL(void psignal, [(int sig, const char *s)])
157 PSI_SH_TEST_POSIX_ENABLED(pthread, [
158 PSI_DECL(int pthread_kill, [(pthread_t thread, int sig)])
159 PSI_DECL(int pthread_sigmask, [(int how, const sigset_t *set, sigset_t *oldset)])
162 PSI_DECL(int raise, [(int sig)])
163 PSI_DECL(int sigaction, [(int sig, const struct sigaction *act, struct sigaction *oact)])
164 PSI_DECL(int sigaddset, [(sigset_t * set, int signum)])
165 PSI_DECL(int sigaltstack, [(const stack_t *ss, stack_t *oss)])
166 PSI_DECL(int sigdelset, [(sigset_t *set, int signum)])
167 PSI_DECL(int sigemptyset, [(sigset_t *set)])
168 PSI_DECL(int sigfillset, [(sigset_t *set)])
169 PSI_DECL(int sighold, [(int sig)])
170 PSI_DECL(int sigignore, [(int sig)])
171 PSI_DECL(int siginterrupt, [(int sig, int flag)])
172 PSI_DECL(int sigismember, [(const sigset_t *set, int signum)])
173 PSI_DECL(void *signal, [(int sig, void *func)])
174 PSI_DECL(int sigpause, [(int sig)])
175 PSI_DECL(int sigpending, [(sigset_t *set)])
176 PSI_DECL(int sigprocmask, [(int how, const sigset_t *set, sigset_t *oset)])
177 PSI_DECL(int sigqueue, [(pid_t pid, int sig, const union sigval value)])
178 PSI_DECL(int sigrelse, [(int sig)])
179 PSI_DECL(void *sigset, [(int sig, void *disp)])
180 PSI_DECL(int sigsuspend, [(const sigset_t *sigmask)])
181 PSI_DECL(int sigtimedwait, [(const sigset_t *set, siginfo_t *info, const struct timespec *timeout)])
182 PSI_DECL(int sigwait, [(const sigset_t *set, int *sig)])
183 PSI_DECL(int sigwaitinfo, [(const sigset_t *set, siginfo_t *info)])