prctl.c 435 B

12345678910111213141516
  1. /*
  2. * prctl() 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. /* psm: including sys/prctl.h would depend on kernel headers */
  10. #ifdef __NR_prctl
  11. int prctl (int, long, long, long, long);
  12. _syscall5(int, prctl, int, option, long, _prctl_a2, long, _prctl_a3,
  13. long, _prctl_a4, long, _prctl_a5)
  14. #endif