diff options
| author | Miguel <m.i@gmx.at> | 2018-09-02 04:02:38 +0200 |
|---|---|---|
| committer | Miguel <m.i@gmx.at> | 2018-09-02 04:02:38 +0200 |
| commit | 300fb2f088d8530b630e01ef24ce032710a2f8b9 (patch) | |
| tree | 0b03ffde600db8d772a649af7b82267af23874a3 /userspace/snake2.h | |
| parent | ab6b44f5197e4c6c19f225f909035385d37883b4 (diff) | |
clean snake
Diffstat (limited to 'userspace/snake2.h')
| -rw-r--r-- | userspace/snake2.h | 10 |
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); +} +// |
