_makepath

Constructs a full NetWare path name

Local Servers:blocking
Remote Servers:N/A
Platform:NLM
Service:File System

Syntax

   #include <nwfileio.h>  
    
   void _makepath  (  
      char        *path,   
      const char  *volume,   
      const char  *dir,   
      const char  *fname,   
      const char  *ext); 
   

Parameters

path

(OUT) Points to the string containing the full path name.

volume

(IN) Specifies the volume name.

dir

(IN) Specifies the directory name.

fname

(IN) Specifies the base name of the file without an extension.

ext

(IN) Specifies the file name extension.

Remarks

The NetWare path name is constructed from the components consisting of a volume name, directory path, file name, and file name extension. The full path name is placed in the buffer pointed to by the path parameter.

The maximum size required for each buffer is specified by the manifest constants which are defined in the NWDIR.H file.

   255   _MAX_PATH 
    16   _MAX_VOLUME (volume name length) 
   255   _MAX_DIR 
     9   _MAX_FNAME 
     5   _MAX_EXT
   

See Using _makepath and _splitpath: Example (NDK: Sample Code).

See Also

_splitpath