add mode to fildes_t

This commit is contained in:
Marian Ohligs 2011-06-21 12:24:35 +02:00
parent 58353723e1
commit a7bc674cbf

View file

@ -30,10 +30,11 @@ extern "C" {
typedef struct fildes {
vfs_node_t* node; /* */
off_t offset; /* */
int mode; /* */
} fildes_t;
#define NR_OPEN 10
#define FS_INIT { [0 ... NR_OPEN-1] = {NULL, 0} }
#define FS_INIT { [0 ... NR_OPEN-1] = {NULL, 0, 0} }
#ifdef __cplusplus
}