sigaltstack.c 401 B

12345678910111213141516
  1. /*
  2. * sigaltstack() for uClibc
  3. *
  4. * Copyright (C) 2000-2006 Erik Andersen <andersen@uclibc.org>
  5. *
  6. * Licensed under the LGPL v2.1, see the file COPYING.LIB in this tarball.
  7. */
  8. #include <sys/syscall.h>
  9. #include <signal.h>
  10. #if defined __NR_sigaltstack && (defined __USE_BSD || defined __USE_UNIX98)
  11. _syscall2(int, sigaltstack, const struct sigaltstack *, ss,
  12. struct sigaltstack *, oss)
  13. #endif