diff options
Diffstat (limited to 'src/kernel/vfs/node.h')
-rw-r--r-- | src/kernel/vfs/node.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/src/kernel/vfs/node.h b/src/kernel/vfs/node.h index 2ebf93b..3b1c700 100644 --- a/src/kernel/vfs/node.h +++ b/src/kernel/vfs/node.h @@ -4,6 +4,7 @@ #include <tce/vfs.h> #include <tce/syscalls.h> + #include <task/task.h> class display; @@ -38,6 +39,8 @@ node* vfs_find(node* root, char* filename); extern node *root, *dot_dev, *dot_ui; +typedef int FILE; // file descriptor type, DIFFERENT FROM FILE TYPE IN USERLAND !!! + // syscall interface FILE open(char* filename, int mode); FILE open_relative(FILE root, char* filename, int mode); |