Update.
[glibc.git] / include / signal.h
blob1a14ff3dc7a97b948863719ab7ef97b8043f453c
1 #ifndef _SIGNAL_H
2 #if defined __need_sig_atomic_t || defined __need_sigset_t
3 # include <signal/signal.h>
4 #else
5 # include <signal/signal.h>
7 /* Now define the internal interfaces. */
8 extern __sighandler_t __bsd_signal __P ((int __sig, __sighandler_t __handler));
9 extern int __kill __P ((__pid_t __pid, int __sig));
10 extern int __sigblock __P ((int __mask));
11 extern int __sigsetmask __P ((int __mask));
12 extern int __sigprocmask __P ((int __how,
13 __const sigset_t *__set, sigset_t *__oset));
14 extern int __sigsuspend __P ((__const sigset_t *__set));
15 extern int __sigwait __P ((__const sigset_t *__set, int *__sig));
16 extern int __sigwaitinfo __P ((__const sigset_t *__set, siginfo_t *__info));
17 extern int __sigtimedwait __P ((__const sigset_t *__set, siginfo_t *__info,
18 __const struct timespec *__timeout));
19 extern int __sigqueue __P ((__pid_t __pid, int __sig,
20 __const union sigval __val));
21 extern int __sigvec __P ((int __sig, __const struct sigvec *__vec,
22 struct sigvec *__ovec));
23 extern int __sigreturn __P ((struct sigcontext *__scp));
24 extern int __sigaltstack __P ((__const struct sigaltstack *__ss,
25 struct sigaltstack *__oss));
26 #endif
27 #endif