summaryrefslogtreecommitdiffhomepage
path: root/src/process/nt32
diff options
context:
space:
mode:
Diffstat (limited to 'src/process/nt32')
-rw-r--r--src/process/nt32/vfork.c11
1 files changed, 11 insertions, 0 deletions
diff --git a/src/process/nt32/vfork.c b/src/process/nt32/vfork.c
new file mode 100644
index 0000000..b5fc74b
--- /dev/null
+++ b/src/process/nt32/vfork.c
@@ -0,0 +1,11 @@
+#define _GNU_SOURCE
+#include <unistd.h>
+#include "syscall.h"
+#include "libc.h"
+
+pid_t __vfork(void)
+{
+ return syscall(SYS_vfork);
+}
+
+weak_alias(__vfork, vfork);