From 300fb2f088d8530b630e01ef24ce032710a2f8b9 Mon Sep 17 00:00:00 2001 From: Miguel Date: Sun, 2 Sep 2018 04:02:38 +0200 Subject: clean snake --- userspace/snake2.h | 10 ++++++++++ 1 file changed, 10 insertions(+) create mode 100644 userspace/snake2.h (limited to 'userspace/snake2.h') 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); +} +// -- cgit v1.2.3