12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455 |
- #ifndef LIBC_SIGACTION
- # include <bits/libc-lock.h>
- # define LIBC_SIGACTION 1
- # include "sigaction.c"
- # ifndef NOT_IN_libc
- # ifndef SHARED
- weak_extern (__pthread_sigaction)
- # endif
- int
- __sigaction (sig, act, oact)
- int sig;
- const struct sigaction *act;
- struct sigaction *oact;
- {
- return __libc_maybe_call2 (pthread_sigaction, (sig, act, oact),
- __libc_sigaction (sig, act, oact));
- }
- # else
- weak_alias (__libc_sigaction, __sigaction)
- # endif
- libc_hidden_weak (__sigaction)
- weak_alias (__sigaction, sigaction)
- #else
- # include_next <sigaction.c>
- #endif
|