From c06402cccc4c6278d762900e6a205394638d9c22 Mon Sep 17 00:00:00 2001 From: Mike Frysinger Date: Thu, 9 Jul 2009 15:10:56 -0400 Subject: syscall(): create a common version based on INLINE_SYSCALL_NCS() Signed-off-by: Mike Frysinger --- libc/sysdeps/linux/common/syscall.c | 12 ++++++++++++ 1 file changed, 12 insertions(+) create mode 100644 libc/sysdeps/linux/common/syscall.c (limited to 'libc/sysdeps/linux/common') diff --git a/libc/sysdeps/linux/common/syscall.c b/libc/sysdeps/linux/common/syscall.c new file mode 100644 index 000000000..61f798e2c --- /dev/null +++ b/libc/sysdeps/linux/common/syscall.c @@ -0,0 +1,12 @@ +/* + * syscall() library function + * + * Licensed under the LGPL v2.1, see the file COPYING.LIB in this tarball. + */ + +#include + +long syscall(long sysnum, long arg1, long arg2, long arg3, long arg4, long arg5, long arg6) +{ + return INLINE_SYSCALL_NCS(sysnum, 6, arg1, arg2, arg3, arg4, arg5, arg6); +} -- cgit v1.2.3