summaryrefslogtreecommitdiff
path: root/libc/sysdeps/linux/e1/vfork.c
diff options
context:
space:
mode:
authorEric Andersen <andersen@codepoet.org>2003-10-08 18:15:50 +0000
committerEric Andersen <andersen@codepoet.org>2003-10-08 18:15:50 +0000
commitc7757f181f0bd52206059f2685a5197113aca76f (patch)
treedcf97b5cda180791099fb63e028eccddf1f6c31b /libc/sysdeps/linux/e1/vfork.c
parent9456866061819ea226ebe2b39ef20622fd36c2f1 (diff)
Patch from George Thanos adding support for the "e1" architecture.
Diffstat (limited to 'libc/sysdeps/linux/e1/vfork.c')
-rw-r--r--libc/sysdeps/linux/e1/vfork.c7
1 files changed, 7 insertions, 0 deletions
diff --git a/libc/sysdeps/linux/e1/vfork.c b/libc/sysdeps/linux/e1/vfork.c
new file mode 100644
index 000000000..56acfb1bc
--- /dev/null
+++ b/libc/sysdeps/linux/e1/vfork.c
@@ -0,0 +1,7 @@
+#include <sys/types.h>
+#include <sys/syscall.h>
+#include <sys/errno.h>
+
+#define __NR___libc_vfork __NR_vfork
+inline _syscall0(pid_t, __libc_vfork);
+inline _syscall0(pid_t, vfork);