Move shared sysdeps files from alpha to arm.
[glibc.git] / conform / data / signal.h-data
blobbb3784ad7bf14009e3aa04ea92e3e8f756562e6e
1 macro-constant SIG_DFL {void(*)(int)}
2 macro-constant SIG_ERR {void(*)(int)}
3 #if !defined ISO && !defined ISO99 && !defined ISO11 && !defined POSIX && !defined POSIX2008
4 macro-constant SIG_HOLD {void(*)(int)}
5 #endif
6 macro-constant SIG_IGN {void(*)(int)}
8 type sig_atomic_t
9 #if !defined ISO && !defined ISO99 && !defined ISO11
10 type sigset_t
11 #endif
12 #if !defined ISO && !defined ISO99 && !defined ISO11 && !defined POSIX
13 type pid_t
14 #elif defined POSIX
15 # define pid_t __pid_t
16 # define uid_t __uid_t
17 #endif
18 #if defined XOPEN2K8 || defined POSIX2008
19 type size_t
20 type pthread_t
21 type uid_t
23 type mcontext_t
25 type ucontext_t
26 element ucontext_t {ucontext_t*} uc_link
27 element ucontext_t sigset_t uc_sigmask
28 element ucontext_t stack_t uc_stack
29 element ucontext_t mcontext_t uc_mcontext
31 type {struct timespec}
32 element {struct timespec} __time_t tv_sec
33 element {struct timespec} long tv_nsec
34 #endif
36 #if defined POSIX || defined UNIX98 || defined XOPEN2K8 || defined POSIX2008
37 element {union sigval} int sival_int
38 element {union sigval} {void*} sival_ptr
40 type {struct sigevent}
42 // Test the elements of the sigevent_t structure.
43 element {struct sigevent} int sigev_notify
44 element {struct sigevent} int sigev_signo
45 element {struct sigevent} {union sigval} sigev_value
46 element {struct sigevent} {void(*} sigev_notify_function )(union sigval)
47 element {struct sigevent} {pthread_attr_t*} sigev_notify_attributes
49 constant SIGEV_NONE
50 constant SIGEV_SIGNAL
51 constant SIGEV_THREAD
53 type {union sigval}
55 macro SIGRTMIN
56 macro SIGRTMAX
57 #endif
59 macro-int-constant SIGABRT {int} > 0
60 macro-int-constant SIGFPE {int} > 0
61 macro-int-constant SIGILL {int} > 0
62 macro-int-constant SIGINT {int} > 0
63 macro-int-constant SIGSEGV {int} > 0
64 macro-int-constant SIGTERM {int} > 0
66 function void (*signal (int, void(*)(int)))(int)
67 function int raise (int)
69 #if !defined ISO && !defined ISO99 && !defined ISO11
70 macro-int-constant SIGALRM {int} > 0
71 macro-int-constant SIGHUP {int} > 0
72 macro-int-constant SIGIO {int} > 0
73 macro-int-constant SIGKILL {int} > 0
74 macro-int-constant SIGPIPE {int} > 0
75 macro-int-constant SIGQUIT {int} > 0
76 macro-int-constant SIGUSR1 {int} > 0
77 macro-int-constant SIGUSR2 {int} > 0
78 macro-int-constant SIGCHLD {int} > 0
79 macro-int-constant SIGCONT {int} > 0
80 macro-int-constant SIGSTOP {int} > 0
81 macro-int-constant SIGTSTP {int} > 0
82 macro-int-constant SIGTTIN {int} > 0
83 macro-int-constant SIGTTOU {int} > 0
84 macro-int-constant SIGBUS {int} > 0
85 macro-int-constant SIGPOLL {int} > 0
86 macro-int-constant SIGPROF {int} > 0
87 macro-int-constant SIGSYS {int} > 0
88 # if !defined POSIX && !defined POSIX2008
89 macro-int-constant SIGTRAP {int} > 0
90 # endif
91 macro-int-constant SIGURG {int} > 0
92 macro-int-constant SIGVTALRM {int} > 0
93 macro-int-constant SIGXCPU {int} > 0
94 macro-int-constant SIGXFSZ {int} > 0
96 type {struct sigaction}
98 element {struct sigaction} {void(*} sa_handler )(int)
99 element {struct sigaction} sigset_t sa_mask
100 element {struct sigaction} int sa_flags
101 element {struct sigaction} {void(*} sa_sigaction )(int, siginfo_t*, void*)
103 constant SA_NOCLDSTOP
104 constant SIG_BLOCK
105 constant SIG_UNBLOCK
106 constant SIG_SETMASK
107 # if !defined POSIX && !defined POSIX2008
108 constant SA_ONSTACK
109 # endif
110 # if !defined POSIX
111 constant SA_RESETHAND
112 constant SA_RESTART
113 constant SA_SIGINFO
114 constant SA_NOCLDWAIT
115 constant SA_NODEFER
116 # endif
117 # if !defined POSIX && !defined POSIX2008
118 constant SS_ONSTACK
119 constant SS_DISABLE
120 constant MINSIGSTKSZ
121 constant SIGSTKSZ
122 # endif
124 # if !defined POSIX
125 type ucontext_t
127 element ucontext_t {ucontext_t*} uc_link
128 element ucontext_t sigset_t uc_sigmask
129 element ucontext_t stack_t uc_stack
130 element ucontext_t mcontext_t uc_mcontext
132 type stack_t
134 element stack_t {void*} ss_sp
135 element stack_t size_t ss_size
136 element stack_t int ss_flags
138 type {struct sigstack}
140 element {struct sigstack} int ss_onstack
141 element {struct sigstack} {void*} ss_sp
142 # endif
144 type siginfo_t
146 element siginfo_t int si_signo
147 # if !defined POSIX && !defined POSIX2008
148 element siginfo_t int si_errno
149 # endif
150 element siginfo_t int si_code
151 element siginfo_t pid_t si_pid
152 element siginfo_t uid_t si_uid
153 element siginfo_t {void*} si_addr
154 element siginfo_t int si_status
155 element siginfo_t long si_band
156 element siginfo_t {union sigval} si_value
158 constant ILL_ILLOPC
159 constant ILL_ILLOPN
160 constant ILL_ILLADR
161 constant ILL_ILLTRP
162 constant ILL_PRVOPC
163 constant ILL_PRVREG
164 constant ILL_COPROC
165 constant ILL_BADSTK
166 constant FPE_INTDIV
167 constant FPE_INTOVF
168 constant FPE_FLTDIV
169 constant FPE_FLTOVF
170 constant FPE_FLTUND
171 constant FPE_FLTRES
172 constant FPE_FLTINV
173 constant FPE_FLTSUB
174 constant SEGV_MAPERR
175 constant SEGV_ACCERR
176 constant BUS_ADRALN
177 constant BUS_ADRERR
178 constant BUS_OBJERR
179 constant TRAP_BRKPT
180 constant TRAP_TRACE
181 constant CLD_EXITED
182 constant CLD_KILLED
183 constant CLD_DUMPED
184 constant CLD_TRAPPED
185 constant CLD_STOPPED
186 constant CLD_CONTINUED
187 constant POLL_IN
188 constant POLL_OUT
189 constant POLL_MSG
190 constant POLL_ERR
191 constant POLL_PRI
192 constant POLL_HUP
193 constant SI_USER
194 constant SI_QUEUE
195 constant SI_TIMER
196 constant SI_ASYNCIO
197 constant SI_MESGQ
199 # if !defined XOPEN2K8 && !defined POSIX && !defined POSIX2008
200 function void (*bsd_signal (int, void(*)(int)))(int)
201 # endif
202 function int kill (pid_t, int)
203 # if !defined POSIX && !defined POSIX2008
204 function int killpg (pid_t, int)
205 # endif
206 # if !defined XPG3 && !defined XPG4
207 function int pthread_kill (pthread_t, int)
208 function int pthread_sigmask (int, const sigset_t*, sigset_t*)
209 # endif
210 function int sigaction (int, const struct sigaction*, struct sigaction*)
211 function int sigaddset (sigset_t*, int)
212 # if !defined POSIX && !defined POSIX2008
213 function int sigaltstack (const stack_t*, stack_t*)
214 # endif
215 function int sigdelset (sigset_t*, int)
216 function int sigemptyset (sigset_t*)
217 function int sigfillset (sigset_t*)
218 # if !defined POSIX && !defined POSIX2008
219 function int sighold (int)
220 function int sigignore (int)
221 function int siginterrupt (int, int)
222 # endif
223 function int sigismember (const sigset_t*, int)
224 #if !defined POSIX && !defined POSIX2008
225 function int sigpause (int)
226 # endif
227 function int sigpending (sigset_t*)
228 function int sigprocmask (int, const sigset_t*, sigset_t*)
229 # if !defined XPG3 && !defined XPG4
230 function int sigqueue (pid_t, int, const union sigval)
231 # endif
232 # if !defined POSIX && !defined POSIX2008
233 function int sigrelse (int)
234 function void (*sigset (int, void(*)(int)))(int)
235 # endif
236 # if !defined POSIX
237 function int sigstack (struct sigstack*, struct sigstack*)
238 # endif
239 function int sigsuspend (const sigset_t*)
240 # if !defined XPG3 && !defined XPG4
241 function int sigtimedwait (const sigset_t*, siginfo_t*, const struct timespec*)
242 # endif
243 function int sigwait (const sigset_t*, int*)
244 # if !defined XPG3 && !defined XPG4
245 function int sigwaitinfo (const sigset_t*, siginfo_t*)
246 # endif
247 # if defined XOPEN2K8 || defined POSIX2008
248 function void psiginfo (const siginfo_t*, const char*)
249 function void psignal (int, const char*)
250 # endif
252 // The following expressions are not entirely correct but the current
253 // poorfnmatch implementation doesn't grok the right form.
254 allow SIG*
255 allow sa_*
256 allow uc_*
257 allow ss_*
258 allow sv_*
259 allow si_*
260 allow SI_*
261 allow sigev_*
262 allow SIGEV_*
263 allow sival_*
264 allow SA_*
265 allow BUS_*
266 allow CLD_*
267 allow FPE_*
268 allow ILL_*
269 allow POLL_*
270 allow SEGV_*
271 allow SS_*
272 allow SV_*
273 allow TRAP_*
274 allow *_t
276 allow-header time.h
277 #endif
279 allow SIG[ABCDEFGHIJKLMNOPQRSTUVWXYZ]*
280 allow SIG_*