add mode to fildes_t
This commit is contained in:
parent
58353723e1
commit
a7bc674cbf
1 changed files with 2 additions and 1 deletions
|
@ -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
|
||||
}
|
||||
|
|
Loading…
Add table
Reference in a new issue