diff options
| author | Miguel <m.i@gmx.at> | 2018-10-13 00:57:28 +0200 |
|---|---|---|
| committer | Miguel <m.i@gmx.at> | 2018-10-13 00:57:28 +0200 |
| commit | 279f3336a8f6b31ca38bdd272c73aebd68fa88fe (patch) | |
| tree | b4bb4a21a4acf38eb810768ac6c1b099e2f18a58 /userspace/newcalls.h | |
| parent | b461c3558b2fe765a4bac512638b0acf5185b4bb (diff) | |
ncurses arrow keys working etc
Diffstat (limited to 'userspace/newcalls.h')
| -rw-r--r-- | userspace/newcalls.h | 30 |
1 files changed, 0 insertions, 30 deletions
diff --git a/userspace/newcalls.h b/userspace/newcalls.h deleted file mode 100644 index e22bc78..0000000 --- a/userspace/newcalls.h +++ /dev/null @@ -1,30 +0,0 @@ -////////////////////////////////////////////////// - -// this syscall will be moved to newlib later! TODO! -#define SYSCALL_CLONE 83 -#define SYSCALL_PIPE 84 -#define SYSCALL_DUP2 86 -#define SYSCALL_GUI_RECT 87 -#define SYSCALL_GUI_WIN 88 - -int _clone(void) -{ - return syscall(SYSCALL_CLONE,0,0,0); -} -int _pipe(uint32_t fds[2]) -{ - return syscall(SYSCALL_PIPE,fds,0,0); -} -int _dup2(uint32_t oldfd,uint32_t newfd) -{ - return syscall(SYSCALL_DUP2,oldfd,newfd,0); -} -int _gui_rect() -{ - return syscall(SYSCALL_GUI_RECT,0,0,0); -} -int _gui_win() -{ - return syscall(SYSCALL_GUI_WIN,0,0,0); -} -// |
