file: fd_allocate

This commit is contained in:
Matheus
2023-05-13 21:12:25 -03:00
parent 18bea63d1c
commit d8cb7b2f42
2 changed files with 5 additions and 0 deletions
+1
View File
@@ -18,6 +18,7 @@ typedef struct fd_t {
int flags;
} fd_t;
file_t *fd_allocate();
file_t *fd_get(int fd);
void fd_release(file_t *file);
int fd_new(int flags, file_t **file, int *fd);