mirror of
https://github.com/RGBCube/serenity
synced 2025-07-28 14:47:34 +00:00
LibC: Add function fdopendir
This adds the function fdopendir and refactors opendir so that opendir just opens a file descriptor and passes the file descriptor onto fdopendir.
This commit is contained in:
parent
51b6bd8d95
commit
78eba1271f
2 changed files with 8 additions and 0 deletions
|
@ -27,6 +27,7 @@ struct __DIR {
|
|||
};
|
||||
typedef struct __DIR DIR;
|
||||
|
||||
DIR* fdopendir(int fd);
|
||||
DIR* opendir(const char* name);
|
||||
int closedir(DIR*);
|
||||
void rewinddir(DIR*);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue