summaryrefslogtreecommitdiff
path: root/userspace/snake2.h
diff options
context:
space:
mode:
authorMiguel <m.i@gmx.at>2018-09-02 04:02:38 +0200
committerMiguel <m.i@gmx.at>2018-09-02 04:02:38 +0200
commit300fb2f088d8530b630e01ef24ce032710a2f8b9 (patch)
tree0b03ffde600db8d772a649af7b82267af23874a3 /userspace/snake2.h
parentab6b44f5197e4c6c19f225f909035385d37883b4 (diff)
clean snake
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);
+}
+//