diff options
Diffstat (limited to 'libc/sysdeps/linux/common')
-rw-r--r-- | libc/sysdeps/linux/common/arch_prctl.c | 15 |
1 files changed, 15 insertions, 0 deletions
diff --git a/libc/sysdeps/linux/common/arch_prctl.c b/libc/sysdeps/linux/common/arch_prctl.c new file mode 100644 index 000000000..4b35322a6 --- /dev/null +++ b/libc/sysdeps/linux/common/arch_prctl.c @@ -0,0 +1,15 @@ +/* vi: set sw=4 ts=4: */ +/* + * arch_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 "syscalls.h" + +#ifdef __NR_arch_prctl +extern int arch_prctl(int code, unsigned long addr); +_syscall2(int, arch_prctl, int, code, unsigned long, addr); +#endif |