ref: 0cc431c860f35ea4a751f29c7a7ebdcfdf31df83
dir: /include/npe/dirent.h/
#ifndef _npe_dirent_h_
#define _npe_dirent_h_
#include <npe.h>
enum {
DT_LNK = -1,
DT_UNKNOWN = 0,
DT_FILE,
DT_DIR,
};
struct dirent {
int d_type;
char *d_name;
};
typedef struct DIR DIR;
#pragma incomplete DIR
DIR *opendir(char *name);
int closedir(DIR *dirp);
struct dirent *readdir(DIR *dirp);
#endif