summaryrefslogtreecommitdiff
path: root/libc/sysdeps/linux/common/prctl.c
blob: 39c0d4fb06f3321b4d87820fb7d6249027c5e427 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
/* vi: set sw=4 ts=4: */
/*
 * prctl() 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 <stdarg.h>
/* psm: including sys/prctl.h would depend on kernel headers */

#ifdef __NR_prctl
extern int prctl (int, long, long, long, long);
_syscall5(int, prctl, int, option, long, _a2, long, _a3, long, _a4, long, _a5)
#endif