toaruos/base/usr/include/bits/dirent.h

19 lines
263 B
C

#pragma once
#include <stdint.h>
typedef struct dirent {
uint32_t d_ino;
char d_name[256];
} dirent;
typedef struct DIR {
int fd;
int cur_entry;
} DIR;
DIR * opendir (const char * dirname);
int closedir (DIR * dir);
struct dirent * readdir (DIR * dirp);