66 |
66 |
67 #define SYS_DIR SysDir* |
67 #define SYS_DIR SysDir* |
68 #define SYS_STAT struct stat |
68 #define SYS_STAT struct stat |
69 #endif |
69 #endif |
70 |
70 |
71 typedef int(stat_func)(const char*, SYS_STAT *); |
71 typedef int(*stat_func)(const char*, SYS_STAT *); |
72 |
72 |
73 void sys_freedirent(SysDirEnt *ent); |
73 void sys_freedirent(SysDirEnt *ent); |
74 SYS_DIR sys_opendir(const char *path); |
74 SYS_DIR sys_opendir(const char *path); |
75 SysDirEnt* sys_readdir(SYS_DIR dir); |
75 SysDirEnt* sys_readdir(SYS_DIR dir); |
76 void sys_closedir(SYS_DIR dir); |
76 void sys_closedir(SYS_DIR dir); |