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
)) {
22 dir_len
= strlen(dir
);
23 if (dir_len
&& *(dir
+ dir_len
- 1) != '\\')
29 if (ext
!= NULL
&& *ext
!= 0) {