123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657 |
- #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
|