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

#ifdef __NR_prctl
int prctl (int, long, long, long, long);
_syscall5(int, prctl, int, option, long, _prctl_a2, long, _prctl_a3,
		long, _prctl_a4, long, _prctl_a5)
#endif