Modify the position of libc_rent definition

This commit is contained in:
rcitachi
2024-11-01 19:01:27 +08:00
committed by Meco Man
parent 5e8602c6e0
commit d9c16efe8f
2 changed files with 11 additions and 12 deletions

View File

@@ -65,6 +65,17 @@ struct dirent
};
#endif
#ifdef RT_USING_MUSLLIBC
typedef uint64_t ino_t;
#endif
struct libc_dirent {
ino_t d_ino;
off_t d_off;
unsigned short d_reclen;
unsigned char d_type;
char d_name[DIRENT_NAME_MAX];
};
int closedir(DIR *);
DIR *opendir(const char *);
struct dirent *readdir(DIR *);