Files | Functions

Current Folder Utilities
[File Utilities]

Collaboration diagram for Current Folder Utilities:

Files

file  utl_file.h

Functions

char * utlFileGetCurrentPath (void)
int utlFileSetCurrentPath (const char *dir_name)

Function Documentation

char* utlFileGetCurrentPath ( void   ) 

Returns the path of the current folder if sucessfull, NULL otherwise.
The path includes the last slash '/'.

int utlFileSetCurrentPath ( const char *  dir_name  ) 

Changes the path of the current folder.

Returns:
Non zero if sucessfull, 0 otherwise.