lib: c: io: implement getdents()

This commit is contained in:
2026-03-24 12:42:39 +00:00
parent 660cb3bd71
commit e30368553f
4 changed files with 44 additions and 0 deletions

13
lib/libc/include/dirent.h Normal file
View File

@@ -0,0 +1,13 @@
#ifndef DIRENT_H_
#define DIRENT_H_
#define DT_UNKNOWN 0
#define DT_BLK 1
#define DT_CHR 2
#define DT_DIR 3
#define DT_FIFO 4
#define DT_LNK 5
#define DT_REG 6
#define DT_SOCK 7
#endif