ref: 26cb2d03bbed1ee32a387d34a99fbd224f1719a5
dir: /lib/c/target/amd64-sysv-netbsd/_sigaction.c/
#include <stddef.h> #include <sys.h> extern int _sigaction2(int sig, struct sigaction *new, struct sigaction *old, int siginfo[], int num); int _sigaction(int sig, struct sigaction *new, struct sigaction *old) { extern int _setcontext[]; return _sigaction2(sig, new, old, _setcontext, 2); }