diff options
| author | Miguel <m.i@gmx.at> | 2018-09-02 03:53:32 +0200 |
|---|---|---|
| committer | Miguel <m.i@gmx.at> | 2018-09-02 03:53:32 +0200 |
| commit | ab6b44f5197e4c6c19f225f909035385d37883b4 (patch) | |
| tree | 2c07e5bc65cf8e19a6433a7c0c5135eabb56a59c /newlib | |
| parent | c459fab7662eaf45df9994c828065b9fc8d4a8ac (diff) | |
foolsnake showcasing multithreading and our console
Diffstat (limited to 'newlib')
| -rw-r--r-- | newlib/syscalls.c | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/newlib/syscalls.c b/newlib/syscalls.c index 3cd1f95..532f8b5 100644 --- a/newlib/syscalls.c +++ b/newlib/syscalls.c @@ -74,6 +74,11 @@ int _fork(void) return syscall(SYSCALL_FORK,0,0,0); } +int _clone(void) +{ + return syscall(SYSCALL_CLONE,0,0,0); +} + int _getpid(void) { return syscall(SYSCALL_GETPID,0,0,0); |
