|
CX Framework
Cross-platform C utility framework
|
Low-level file I/O operations. More...
Go to the source code of this file.
Macros | |
| #define | fileClose(pfile) (unused_noeval(&((*(pfile))->_is_File)), _fileClose((File**)(pfile))) |
Typedefs | |
| typedef File | FSFile |
| A file opened on the OS filesystem with fsOpen() | |
Functions | |
| FSFile * | fsOpen (strref path, flags_t flags) |
| bool | fsRead (FSFile *file, void *buf, size_t sz, size_t *bytesread) |
| bool | fsWrite (FSFile *file, const void *buf, size_t sz, size_t *byteswritten) |
| bool | fsWriteString (FSFile *file, strref str, size_t *byteswritten) |
| int64 | fsTell (FSFile *file) |
| int64 | fsSeek (FSFile *file, int64 off, FSSeekType seektype) |
| bool | fsFlush (FSFile *file) |
Low-level file I/O operations.
Definition in file file.h.