1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24
#ifndef FS_H #define FS_H #ifdef __cplusplus extern "C" { #endif #ifdef _WIN32 #define OS_PATH_SEP "\\" #else #define OS_PATH_SEP "/" #endif int isFile(const char*); int isDir(const char*); int makeDir(const char*); int removeDir(const char*); #ifdef __cplusplus } #endif #endif