diff options
| author | Michal Idziorek <m.i@gmx.at> | 2014-11-27 01:44:25 +0100 |
|---|---|---|
| committer | Michal Idziorek <m.i@gmx.at> | 2014-11-27 01:44:25 +0100 |
| commit | e7b9569041521da7e0b67c30af7179c0af1e3738 (patch) | |
| tree | 4b7d596414afd96df0826f24e750c1defa14167b /kernel/syscalls.h | |
| parent | 0e402637492f34a4d0e1302fbe34344e19bc4813 (diff) | |
struggling with new multitasking
Diffstat (limited to 'kernel/syscalls.h')
| -rw-r--r-- | kernel/syscalls.h | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/kernel/syscalls.h b/kernel/syscalls.h index fc5f5bf..d9a338d 100644 --- a/kernel/syscalls.h +++ b/kernel/syscalls.h @@ -32,12 +32,13 @@ #define SYSCALL_GETPID 78 int syscall_execve(char *name, char **argv, char **env); +int syscall_write(int file, char *buf, int len); + /* int syscall_readdir(const char *name,struct fs_dirent *dirs,int max); int syscall_exit(int ret, int none1, int none2); int syscall_open(char *name, int flags, int len); -int syscall_write(int file, char *buf, int len); int syscall_read(int file, char *buf, int len); int syscall_close(int file,int none1,int none2); int syscall_fstat(int file, struct stat *st,int none); |
