mirror of
https://github.com/xen-project/xen.git
synced 2026-10-29 10:40:03 +01:00
25 lines
430 B
C
25 lines
430 B
C
#ifndef _POSIX_DIRENT_H
|
|
#define _POSIX_DIRENT_H
|
|
|
|
#include <stdint.h>
|
|
|
|
struct dirent {
|
|
char *d_name;
|
|
};
|
|
|
|
typedef struct {
|
|
struct dirent dirent;
|
|
char *name;
|
|
int32_t offset;
|
|
char **entries;
|
|
int32_t curentry;
|
|
int32_t nbentries;
|
|
int has_more;
|
|
} DIR;
|
|
|
|
DIR *opendir(const char *name);
|
|
struct dirent *readdir(DIR *dir);
|
|
int closedir(DIR *dir);
|
|
|
|
#endif /* _POSIX_DIRENT_H */
|