From d503d1d6c62506ba6fb51c04a9703039e71d11a9 Mon Sep 17 00:00:00 2001 From: Ned Ludd Date: Mon, 20 Dec 2004 00:10:51 +0000 Subject: - Added support for 13 new syscalls to allow more things to compile when using uClibc. mincore() and the ones for Extended Attributes setxattr(), lsetxattr(), fsetxattr(), getxattr(), lgetxattr(), fgetxattr(), listxattr(), llistxattr(), flistxattr(), removexattr(), lremovexattr(), fremovexattr() which are optional. --- libc/sysdeps/linux/common/mincore.c | 15 +++++++++++++++ 1 file changed, 15 insertions(+) create mode 100644 libc/sysdeps/linux/common/mincore.c (limited to 'libc/sysdeps/linux/common/mincore.c') diff --git a/libc/sysdeps/linux/common/mincore.c b/libc/sysdeps/linux/common/mincore.c new file mode 100644 index 000000000..ecae441a5 --- /dev/null +++ b/libc/sysdeps/linux/common/mincore.c @@ -0,0 +1,15 @@ +/* + * Distributed under the terms of the GNU General Public License v2 + * $Header: /var/cvs/uClibc/libc/sysdeps/linux/common/mincore.c,v 1.1 2004/12/20 00:10:51 solar Exp $ + * + * This file provides the mincore() system call to uClibc. + * 20041215 - + * + */ + +#include "syscalls.h" +#include + +#ifdef __NR_mincore +_syscall3(int, mincore, void *, start, size_t, length, unsigned char *, vec); +#endif -- cgit v1.2.3