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 strdup
code vault - strtail
linux - users
programming - DDE - WinWord DDE Server
MC6802 - instruction set - Copy Index Register to stack pointer
programming - target - Xlib
programming:c:function ftell
programming - C - structs _finddata_t
programming:c:function strrchr
X Windows Structures - XEvent
android command line usage
programming:cpp:Cpp Class Static data and functions
X Windows Structures - XMotionEvent
programming - c - structs - _finddata_t
programming - C - function strdup
programming - windows - WM_CREATE
programming:c:function isdigit
filename:programming:c:functions:_makepath
filename:programming%3Ac%3Afunctions%3A_makepath
last edit:January 08 2010 02:21:08 (6152 days ago)
ct = 1794509848.000000 = November 12 2026 18:57:28
ft = 1262917268.000000 = January 08 2010 02:21:08
dt = 531592580.000000