summaryrefslogtreecommitdiff
path: root/libc/sysdeps/linux/mips/sysmips.c
diff options
context:
space:
mode:
authorManuel Novoa III <mjn3@codepoet.org>2003-11-28 18:28:41 +0000
committerManuel Novoa III <mjn3@codepoet.org>2003-11-28 18:28:41 +0000
commit8c00735b3121950263c47ee7330aad181c513d9a (patch)
tree44794a4754c2539ff9c92701b3a477ef0b67d593 /libc/sysdeps/linux/mips/sysmips.c
parent53d8027c8096f22aa32c1faa59dd09dc8b7b3c9c (diff)
Add sysmips(), based on a patch by Atsushi Nemoto <anemo@mba.ocn.ne.jp>.
Diffstat (limited to 'libc/sysdeps/linux/mips/sysmips.c')
-rw-r--r--libc/sysdeps/linux/mips/sysmips.c5
1 files changed, 5 insertions, 0 deletions
diff --git a/libc/sysdeps/linux/mips/sysmips.c b/libc/sysdeps/linux/mips/sysmips.c
new file mode 100644
index 000000000..69b462c33
--- /dev/null
+++ b/libc/sysdeps/linux/mips/sysmips.c
@@ -0,0 +1,5 @@
+#include <errno.h>
+#include <sys/syscall.h>
+#include <sys/sysmips.h>
+
+_syscall4(int, sysmips, const int, cmd, const long, arg1, const int, arg2, const int, arg3);