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:c:function strcat
programming:c:function feof
programming:c:function strpbrk
programming - pascal - procedure - delete
programming - javascript - event handlers
programming - sqlite2 - c interface
programming:c:function substr
programming:c:function fgets
programming - Pascal
programming - C - function isgraph
programming - c - functions - clock()
filename:programming:c:functions:_makepath
filename:programming%3Ac%3Afunctions%3A_makepath
last edit:January 07 2010 21:21:08 (5591 days ago)
ct = 1746062233.000000 = April 30 2025 21:17:13
ft = 1262917268.000000 = January 07 2010 21:21:08
dt = 483144965.000000