summaryrefslogtreecommitdiff
path: root/userspace/snake2.h
diff options
context:
space:
mode:
Diffstat (limited to 'userspace/snake2.h')
-rw-r--r--userspace/snake2.h10
1 files changed, 10 insertions, 0 deletions
diff --git a/userspace/snake2.h b/userspace/snake2.h
new file mode 100644
index 0000000..06ca797
--- /dev/null
+++ b/userspace/snake2.h
@@ -0,0 +1,10 @@
+//////////////////////////////////////////////////
+
+// this syscall will be move to newlib later!
+#define SYSCALL_CLONE 83
+
+int _clone(void)
+{
+ return syscall(SYSCALL_CLONE,0,0,0);
+}
+//