summaryrefslogtreecommitdiff
path: root/libc/sysdeps/linux/common/syscall.c
diff options
context:
space:
mode:
Diffstat (limited to 'libc/sysdeps/linux/common/syscall.c')
-rw-r--r--libc/sysdeps/linux/common/syscall.c12
1 files changed, 12 insertions, 0 deletions
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 <sys/syscall.h>
+
+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);
+}