diff options
| author | Miguel <m.i@gmx.at> | 2018-10-19 02:41:53 +0200 |
|---|---|---|
| committer | Miguel <m.i@gmx.at> | 2018-10-19 02:41:53 +0200 |
| commit | 45ce8728224caa44d31dca3117992b193fa3cd98 (patch) | |
| tree | 8d37cfe273e9feeb8376b6205abe29c995e40ac2 /interface/syscalls.h | |
| parent | 9bfd9fb6a7c568b56a5ef525a2b76351780bae66 (diff) | |
window manager continued
Diffstat (limited to 'interface/syscalls.h')
| -rw-r--r-- | interface/syscalls.h | 34 |
1 files changed, 25 insertions, 9 deletions
diff --git a/interface/syscalls.h b/interface/syscalls.h index 604e150..668a3d2 100644 --- a/interface/syscalls.h +++ b/interface/syscalls.h @@ -1,3 +1,19 @@ +/** + * @file + * + * Fool OS System Calls + * ==================== + * + * This is THE way for user programms to communicate with the kernel. + * + * The kernel exhibits a set of a few posix-style calls and some other + * non-standard foolish calls invented by myself. + * + * TODO: DOCUMENT each call! + * reentrant? limitations? posix compilance? implemented fully? + */ + + #define SYSCALL_EXIT 60 #define SYSCALL_CLOSE 66 #define SYSCALL_EXECVE 64 @@ -20,14 +36,14 @@ #define SYSCALL_READDIR 63 #define SYSCALL_KILL 73 #define SYSCALL_POLL 80 -#define SYSCALL_CLONE 83 -#define SYSCALL_PIPE 84 -#define SYSCALL_DUP2 86 -#define SYSCALL_GUI_RECT 87 -#define SYSCALL_GUI_WIN 88 -#define SYSCALL_SELECT 89 -#define SYSCALL_TCGETATTR 90 -#define SYSCALL_TCSETATTR 91 -#define SYSCALL_OPENDIR 92 +#define SYSCALL_CLONE 83 +#define SYSCALL_PIPE 84 +#define SYSCALL_DUP2 86 +#define SYSCALL_GUI_RECT 87 +#define SYSCALL_GUI_WIN 88 +#define SYSCALL_SELECT 89 +#define SYSCALL_TCGETATTR 90 +#define SYSCALL_TCSETATTR 91 +#define SYSCALL_OPENDIR 92 #define SYSCALL_UNIMPLEMENTED 200 |
