ref: fd731d3c833d9241fdff618b6c949453fb5c0f31
dir: /dirent.h/
#ifndef _dirent_h_
#define _dirent_h_
#include "plan9.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