rtt更新
This commit is contained in:
@@ -65,6 +65,19 @@ struct dirent
|
||||
};
|
||||
#endif
|
||||
|
||||
#ifdef RT_USING_MUSLLIBC
|
||||
typedef uint64_t ino_t;
|
||||
#endif
|
||||
struct libc_dirent {
|
||||
#ifdef RT_USING_MUSLLIBC
|
||||
ino_t d_ino;
|
||||
#endif
|
||||
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 *);
|
||||
|
Reference in New Issue
Block a user