This header provides functions ported from Unix in stdio.h. More...
Functions | |
EVIL_API int | evil_rename (const char *src, const char *dst) |
Emulate the rename() function on Windows. More... | |
EVIL_API int | evil_mkdir (const char *dirname, mode_t mode) |
Wrap the _mkdir() function on Windows. More... | |
This header provides functions ported from Unix in stdio.h.
EVIL_API int evil_rename | ( | const char * | src, |
const char * | dst | ||
) |
Emulate the rename() function on Windows.
src | The old pathname. |
dst | The new pathname. |
This function emulates the POSIX rename() function on Windows. The difference with the POSIX function is that the rename() function on windows fails if the destination exists.
EVIL_API int evil_mkdir | ( | const char * | dirname, |
mode_t | mode | ||
) |
Wrap the _mkdir() function on Windows.
[in] | dirname | The new dir name. |
[in] | mode | Unused. |
This function wraps the _mkdir() function.