fd: new abstraction

This commit is contained in:
Matheus
2022-09-18 16:21:19 -03:00
parent 73a8584a72
commit 41d6e7230e
11 changed files with 216 additions and 151 deletions
+1 -4
View File
@@ -46,10 +46,7 @@ typedef struct _proc_t{
pid_t pid;
gid_t gid;
uid_t uid;
fd_t* fds;
int fdlock;
size_t fdcount;
off_t firstfreefd;
fdtable_t fdtable;
thread_t** threads;
size_t threadcount;
dirnode_t* root;