Functions

utl_file.h File Reference

File Utilities. More...

Go to the source code of this file.

Functions

unsigned long utlFileSize (const char *filename)
char * utlFileLoadText (const char *filename)
int utlFileSaveText (const char *filename, const char *text)
char * utlFileGetPath (const char *filename)
char * utlFileGetTitle (const char *filename)
char * utlFileGetExt (const char *filename)
char * utlFileGetCurrentPath (void)
int utlFileSetCurrentPath (const char *dir_name)

Detailed Description

Note:
For all the functions the returned string must be deallocated with free().

Function Documentation

char* utlFileGetFilenameMultiple ( const char *  dir,
const char *  filetitle,
int *  offset 
)
char* utlFileGetPathMultiple ( const char *  filename,
int *  offset 
)