781 B
781 B
File
This header provides cross platform file functionality. It has all the basics that you can expect which work exactly like the stdio counterparts:
fileOpenfileClosefileIsValidfileReadfileWritefileSeekEndfileRewindfileTell
Then there are a few helpers functions for reading / writing:
- Writing:
filePutcfilePutsfilePrintffileWriteWhole
- Reading:
fileReadWholefileReadWholeStr
There are also some functions to get info about a file without having to open it:
fileExistsfileSizefileGetTimefileHasChanged
And finally, there are some helper functions:
fileGetFullPath(for windows)fileSplitPath/fileGetFilename/fileGetExtensionfileDelete