WIN32 versions of io functions

This commit is contained in:
Thomas Bernard
2018-02-16 02:25:23 +01:00
parent d924e0b827
commit c48e881a54
3 changed files with 89 additions and 11 deletions

View File

@@ -88,10 +88,10 @@ int File_length(const char *fname);
int File_length_file(FILE * file);
/// Returns true if a file passed as a parameter exists in the current directory.
int File_exists(char * fname);
int File_exists(const char * fname);
/// Returns true if a directory passed as a parameter exists in the current directory.
int Directory_exists(char * directory);
int Directory_exists(const char * directory);
/// Check if a file or directory is hidden. Full name (with directories) is optional.
int File_is_hidden(const char *fname, const char *full_name);