shithub: scc

ref: 61d8ab34d1ccd7ffdc3fd0e3fe73bf1a87bf0af6
dir: /src/libc/arch/amd64/netbsd/_sigaction.c/

View raw version
#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);
}