]>
Commit | Line | Data |
---|---|---|
6796bc80 | 1 | #ifndef _SIGNAL_H |
bdbf022d UD |
2 | # include <signal/signal.h> |
3 | ||
31341567 | 4 | # ifndef _ISOMAC |
5841dad9 RM |
5 | libc_hidden_proto (sigemptyset) |
6 | libc_hidden_proto (sigfillset) | |
85dd1003 UD |
7 | libc_hidden_proto (sigaddset) |
8 | libc_hidden_proto (sigdelset) | |
5841dad9 | 9 | libc_hidden_proto (sigismember) |
a4733812 | 10 | extern int __sigpause (int sig_or_mask, int is_sig); |
5841dad9 | 11 | libc_hidden_proto (__sigpause) |
13ece897 | 12 | libc_hidden_proto (raise) |
a4baf360 UD |
13 | libc_hidden_proto (__libc_current_sigrtmin) |
14 | libc_hidden_proto (__libc_current_sigrtmax) | |
5be8418c | 15 | libc_hidden_proto (_sys_siglist) |
5841dad9 | 16 | |
bdbf022d | 17 | /* Now define the internal interfaces. */ |
aaa8d85c UD |
18 | extern __sighandler_t __bsd_signal (int __sig, __sighandler_t __handler); |
19 | extern int __kill (__pid_t __pid, int __sig); | |
6a088436 | 20 | libc_hidden_proto (__kill) |
a784e502 | 21 | extern int __sigaction (int __sig, const struct sigaction *__restrict __act, |
d9bfd1a5 | 22 | struct sigaction *__restrict __oact); |
37ba7d66 | 23 | libc_hidden_proto (__sigaction) |
aaa8d85c | 24 | extern int __sigblock (int __mask); |
6a088436 | 25 | libc_hidden_proto (__sigblock) |
aaa8d85c UD |
26 | extern int __sigsetmask (int __mask); |
27 | extern int __sigprocmask (int __how, | |
a784e502 | 28 | const sigset_t *__set, sigset_t *__oset); |
6a088436 | 29 | libc_hidden_proto (__sigprocmask) |
a784e502 | 30 | extern int __sigsuspend (const sigset_t *__set); |
37ba7d66 | 31 | libc_hidden_proto (__sigsuspend) |
a784e502 | 32 | extern int __sigwait (const sigset_t *__set, int *__sig); |
6166815d | 33 | libc_hidden_proto (__sigwait) |
a784e502 | 34 | extern int __sigwaitinfo (const sigset_t *__set, siginfo_t *__info); |
6166815d | 35 | libc_hidden_proto (__sigwaitinfo) |
a784e502 UD |
36 | extern int __sigtimedwait (const sigset_t *__set, siginfo_t *__info, |
37 | const struct timespec *__timeout); | |
6166815d | 38 | libc_hidden_proto (__sigtimedwait) |
aaa8d85c | 39 | extern int __sigqueue (__pid_t __pid, int __sig, |
a784e502 | 40 | const union sigval __val); |
54dc5461 | 41 | #ifdef __USE_MISC |
aaa8d85c | 42 | extern int __sigreturn (struct sigcontext *__scp); |
54dc5461 | 43 | #endif |
75531318 JM |
44 | extern int __sigaltstack (const stack_t *__ss, |
45 | stack_t *__oss); | |
6a088436 | 46 | libc_hidden_proto (__sigaltstack) |
353aebf5 UD |
47 | extern int __libc_sigaction (int sig, const struct sigaction *act, |
48 | struct sigaction *oact); | |
e17ec211 | 49 | libc_hidden_proto (__libc_sigaction) |
9395e889 | 50 | |
8001fa60 AJ |
51 | extern int __default_sigpause (int mask); |
52 | extern int __xpg_sigpause (int sig); | |
53 | ||
9395e889 | 54 | /* Allocate real-time signal with highest/lowest available priority. */ |
aaa8d85c | 55 | extern int __libc_allocate_rtsig (int __high); |
bdcd03ea | 56 | |
3d1870fa | 57 | # if IS_IN (rtld) && !defined NO_RTLD_HIDDEN |
bdcd03ea L |
58 | extern __typeof (__sigaction) __sigaction attribute_hidden; |
59 | extern __typeof (__libc_sigaction) __libc_sigaction attribute_hidden; | |
60 | # endif | |
a992f506 ZW |
61 | |
62 | # endif /* _ISOMAC */ | |
63 | #endif /* signal.h */ |