Added sys_stat, sys_fstat and their libposix glue.

This commit is contained in:
Bahadir Balban
2008-05-22 11:21:27 +00:00
parent bd8b182f1b
commit 00b47117b0
7 changed files with 248 additions and 4 deletions

View File

@@ -10,7 +10,7 @@
#define __TASKNAME__ __VFSNAME__
#define TASK_OFILES_MAX 32
#define TASK_FILES_MAX 32
/* Thread control block, fs0 portion */
struct tcb {
@@ -18,7 +18,7 @@ struct tcb {
unsigned long utcb_address;
int utcb_mapped; /* Set if we mapped their utcb */
struct list_head list;
int fd[TASK_OFILES_MAX];
int fd[TASK_FILES_MAX];
struct id_pool *fdpool;
struct vnode *curdir;
struct vnode *rootdir;