|
libcmutils 0.6.5
Multi-platform C99 utility library
|
Data Structures | |
| struct | CMUTIL_FileList |
| A list of files in a directory. More... | |
| struct | CMUTIL_FileStream |
| File stream object for reading and writing files. More... | |
| struct | CMUTIL_File |
| A file or directory object. More... | |
Enumerations | |
| enum | CMFileOpenMode { CMFileOpenRead = 0 , CMFileOpenWrite , CMFileOpenAppend } |
| File open mode enumeration. More... | |
Functions | |
| CMUTIL_File * | CMUTIL_FileCreate (const char *path) |
| Create a file or directory object for the specified path. | |
| CMBool | CMUTIL_PathCreate (const char *path, uint32_t mode) |
| Create directories recursively for the specified path. | |
| enum CMFileOpenMode |
| CMUTIL_File * CMUTIL_FileCreate | ( | const char * | path | ) |
Create a file or directory object for the specified path.
| path | The file or directory path. |
| CMBool CMUTIL_PathCreate | ( | const char * | path, |
| uint32_t | mode | ||
| ) |
Create directories recursively for the specified path.
This function creates all necessary parent directories for the given path if they do not already exist.
| path | The directory path to create. |
| mode | The permissions to set for newly created directories. |