programming:c:functions:_makepathWhat links here?

Syntax

void _makepath(
    char* path, 
    char* drive, 
    char* dir, 
    char* fname, 
    char* ext)


Description

_makepath creates a single path name, composed of a drive letter, directory path, file name, and file name extension.

The path argument should point to an empty buffer large enough to hold the complete path name. The constant _MAX_PATH, defined in <stdlib.h>, specifies the maximum size allowed for path. The other arguments point to the following buffers containing the path name elements:



The size limits on the above four fields are those specified by the constants _MAX_DRIVE, _MAX_DIR, _MAX_FNAME, and _MAX_EXT, which are defined in <stdlib.h>. The composite path should be no larger than the _MAX_PATH constant also defined in <stdlib.h>; otherwise, the operating system does not handle it correctly.

Note: No checking is done to see if the syntax of the file name is correct .



Returns

There is no return value.
programming:c:functions:_makepath
filename:programming:c:functions:_makepath
filename:programming%3Ac%3Afunctions%3A_makepath
last edit:January 07 2010 21:21:08 (5232 days ago)
ct = 1714990820.000000 = May 06 2024 06:20:20
ft = 1262917268.000000 = January 07 2010 21:21:08
dt = 452073552.000000