3 #include <msvcrt/stdlib.h>
4 #include <msvcrt/string.h>
9 void _makepath(char* path, const char* drive, const char* dir, const char* fname, const char* ext)
13 if ((drive != NULL) && (*drive)) {
23 dir_len = strlen(dir);
24 if (dir_len && *(dir + dir_len - 1) != '\\')
30 if (ext != NULL && *ext != 0) {