summaryrefslogtreecommitdiff
path: root/libc/sysdeps/linux/common/sigaltstack.c
blob: a860c227f90670d0f584def9a0cf6afcd697b5e8 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
/*
 * 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