summaryrefslogtreecommitdiff
path: root/libc/sysdeps/linux/common/sigaltstack.c
blob: 0c9308408255c0b037b558bb42999752a064348b (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
/* vi: set sw=4 ts=4: */
/*
 * sigaltstack() 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>
#include <signal.h>

#if defined __NR_sigaltstack && (defined __USE_BSD || defined __USE_UNIX98)

_syscall2(int, sigaltstack, const struct sigaltstack *, ss,
		  struct sigaltstack *, oss);
#endif