Add i386 memset and memcpy assembly functions
[glibc.git] / conform / data / signal.h-data
blob7584865f120ffd27425506c78c3858465d22ce17
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 SIGKILL {int} > 0
73 macro-int-constant SIGPIPE {int} > 0
74 macro-int-constant SIGQUIT {int} > 0
75 macro-int-constant SIGUSR1 {int} > 0
76 macro-int-constant SIGUSR2 {int} > 0
77 macro-int-constant SIGCHLD {int} > 0
78 macro-int-constant SIGCONT {int} > 0
79 macro-int-constant SIGSTOP {int} > 0
80 macro-int-constant SIGTSTP {int} > 0
81 macro-int-constant SIGTTIN {int} > 0
82 macro-int-constant SIGTTOU {int} > 0
83 # ifndef XPG3
84 macro-int-constant SIGBUS {int} > 0
85 # endif
86 # if !defined POSIX && !defined XPG3
87 macro-int-constant SIGPOLL {int} > 0
88 macro-int-constant SIGPROF {int} > 0
89 macro-int-constant SIGSYS {int} > 0
90 # endif
91 # if !defined POSIX && !defined XPG3 && !defined POSIX2008
92 macro-int-constant SIGTRAP {int} > 0
93 # endif
94 # if !defined POSIX && !defined XPG3
95 macro-int-constant SIGURG {int} > 0
96 macro-int-constant SIGVTALRM {int} > 0
97 macro-int-constant SIGXCPU {int} > 0
98 macro-int-constant SIGXFSZ {int} > 0
99 # endif
101 type {struct sigaction}
103 element {struct sigaction} {void(*} sa_handler )(int)
104 element {struct sigaction} sigset_t sa_mask
105 element {struct sigaction} int sa_flags
106 element {struct sigaction} {void(*} sa_sigaction )(int, siginfo_t*, void*)
108 constant SA_NOCLDSTOP
109 constant SA_SIGINFO
110 constant SIG_BLOCK
111 constant SIG_UNBLOCK
112 constant SIG_SETMASK
113 # if !defined POSIX && !defined POSIX2008
114 constant SA_ONSTACK
115 # endif
116 # if !defined POSIX
117 constant SA_RESETHAND
118 constant SA_RESTART
119 constant SA_NOCLDWAIT
120 constant SA_NODEFER
121 # endif
122 # if !defined POSIX && !defined POSIX2008
123 constant SS_ONSTACK
124 constant SS_DISABLE
125 constant MINSIGSTKSZ
126 constant SIGSTKSZ
127 # endif
129 # if !defined POSIX
130 type ucontext_t
132 element ucontext_t {ucontext_t*} uc_link
133 element ucontext_t sigset_t uc_sigmask
134 element ucontext_t stack_t uc_stack
135 element ucontext_t mcontext_t uc_mcontext
137 type stack_t
139 element stack_t {void*} ss_sp
140 element stack_t size_t ss_size
141 element stack_t int ss_flags
143 type {struct sigstack}
145 element {struct sigstack} int ss_onstack
146 element {struct sigstack} {void*} ss_sp
147 # endif
149 # ifndef XPG3
150 type siginfo_t
152 element siginfo_t int si_signo
153 #  if !defined POSIX && !defined POSIX2008
154 element siginfo_t int si_errno
155 #  endif
156 element siginfo_t int si_code
157 #  ifndef POSIX
158 element siginfo_t pid_t si_pid
159 element siginfo_t uid_t si_uid
160 element siginfo_t {void*} si_addr
161 element siginfo_t int si_status
162 element siginfo_t long si_band
163 #  endif
164 #  ifndef XPG4
165 element siginfo_t {union sigval} si_value
166 #  endif
167 # endif
169 # if !defined POSIX && !defined XPG3
170 constant ILL_ILLOPC
171 constant ILL_ILLOPN
172 constant ILL_ILLADR
173 constant ILL_ILLTRP
174 constant ILL_PRVOPC
175 constant ILL_PRVREG
176 constant ILL_COPROC
177 constant ILL_BADSTK
178 constant FPE_INTDIV
179 constant FPE_INTOVF
180 constant FPE_FLTDIV
181 constant FPE_FLTOVF
182 constant FPE_FLTUND
183 constant FPE_FLTRES
184 constant FPE_FLTINV
185 constant FPE_FLTSUB
186 constant SEGV_MAPERR
187 constant SEGV_ACCERR
188 constant BUS_ADRALN
189 constant BUS_ADRERR
190 constant BUS_OBJERR
191 constant CLD_EXITED
192 constant CLD_KILLED
193 constant CLD_DUMPED
194 constant CLD_TRAPPED
195 constant CLD_STOPPED
196 constant CLD_CONTINUED
197 constant POLL_IN
198 constant POLL_OUT
199 constant POLL_MSG
200 constant POLL_ERR
201 constant POLL_PRI
202 constant POLL_HUP
203 # endif
204 # if !defined POSIX && !defined XPG3 && !defined POSIX2008
205 constant TRAP_BRKPT
206 constant TRAP_TRACE
207 # endif
208 constant SI_USER
209 constant SI_QUEUE
210 constant SI_TIMER
211 constant SI_ASYNCIO
212 constant SI_MESGQ
214 # if !defined XOPEN2K8 && !defined POSIX && !defined POSIX2008
215 function void (*bsd_signal (int, void(*)(int)))(int)
216 # endif
217 function int kill (pid_t, int)
218 # if !defined POSIX && !defined POSIX2008
219 function int killpg (pid_t, int)
220 # endif
221 # if !defined XPG3 && !defined XPG4
222 function int pthread_kill (pthread_t, int)
223 function int pthread_sigmask (int, const sigset_t*, sigset_t*)
224 # endif
225 function int sigaction (int, const struct sigaction*, struct sigaction*)
226 function int sigaddset (sigset_t*, int)
227 # if !defined POSIX && !defined POSIX2008
228 function int sigaltstack (const stack_t*, stack_t*)
229 # endif
230 function int sigdelset (sigset_t*, int)
231 function int sigemptyset (sigset_t*)
232 function int sigfillset (sigset_t*)
233 # if !defined POSIX && !defined POSIX2008
234 function int sighold (int)
235 function int sigignore (int)
236 function int siginterrupt (int, int)
237 # endif
238 function int sigismember (const sigset_t*, int)
239 #if !defined POSIX && !defined POSIX2008
240 function int sigpause (int)
241 # endif
242 function int sigpending (sigset_t*)
243 function int sigprocmask (int, const sigset_t*, sigset_t*)
244 # if !defined XPG3 && !defined XPG4
245 function int sigqueue (pid_t, int, const union sigval)
246 # endif
247 # if !defined POSIX && !defined POSIX2008
248 function int sigrelse (int)
249 function void (*sigset (int, void(*)(int)))(int)
250 # endif
251 # if !defined POSIX
252 function int sigstack (struct sigstack*, struct sigstack*)
253 # endif
254 function int sigsuspend (const sigset_t*)
255 # if !defined XPG3 && !defined XPG4
256 function int sigtimedwait (const sigset_t*, siginfo_t*, const struct timespec*)
257 # endif
258 function int sigwait (const sigset_t*, int*)
259 # if !defined XPG3 && !defined XPG4
260 function int sigwaitinfo (const sigset_t*, siginfo_t*)
261 # endif
262 # if defined XOPEN2K8 || defined POSIX2008
263 function void psiginfo (const siginfo_t*, const char*)
264 function void psignal (int, const char*)
265 # endif
267 // The following expressions are not entirely correct but the current
268 // poorfnmatch implementation doesn't grok the right form.
269 allow sa_*
270 allow SA_*
271 # ifndef XPG3
272 allow si_*
273 allow SI_*
274 # endif
275 # if !defined XPG3 && !defined XPG4
276 allow sigev_*
277 allow SIGEV_*
278 allow sival_*
279 # endif
280 # if !defined POSIX && !defined XPG3 && !defined XPG4
281 allow uc_*
282 # endif
283 # if !defined POSIX && !defined XPG3
284 allow BUS_*
285 allow CLD_*
286 allow FPE_*
287 allow ILL_*
288 allow POLL_*
289 allow SEGV_*
290 # endif
291 # if !defined POSIX && !defined XPG3 && !defined POSIX2008
292 allow SS_*
293 allow SV_*
294 allow TRAP_*
295 allow ss_*
296 allow sv_*
297 # endif
298 allow *_t
300 allow-header time.h
301 #endif
303 allow SIG[ABCDEFGHIJKLMNOPQRSTUVWXYZ]*
304 allow SIG_*