summaryrefslogtreecommitdiffstats
path: root/libc/sysdeps/linux/common/__syscall_rt_sigaction.c
blob: 981bb19b0734ef6057094855b34fd957097c7d17 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
/* vi: set sw=4 ts=4: */
/*
 * __syscall_rt_sigaction() for uClibc
 *
 * Copyright (C) 2000-2006 Erik Andersen <andersen@uclibc.org>
 *
 * Licensed under the LGPL v2.1, see the file COPYING.LIB in this tarball.
 */

#include <sys/syscall.h>

#ifdef __NR_rt_sigaction
#include <signal.h>
#include <bits/kernel_sigaction.h>

#define __NR___syscall_rt_sigaction __NR_rt_sigaction
_syscall4(int, __syscall_rt_sigaction, int, signum,
		  const struct kernel_sigaction *, act, struct kernel_sigaction *, oldact,
		  size_t, size);
#endif