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
programming:programming links
electronics - LCD Display - HD44780 - initialization
programming - sqlite3 - c interface - sqlite3_bind_text
Topical Bible - What God wants of us
filename:programming:c:functions:_makepath
filename:programming%3Ac%3Afunctions%3A_makepath
last edit:January 07 2010 21:21:08 (5522 days ago)
ct = 1740080505.000000 = February 20 2025 14:41:45
ft = 1262917268.000000 = January 07 2010 21:21:08
dt = 477163237.000000