mmmmh
This commit is contained in:
parent
82aee127b0
commit
a92b119549
99 changed files with 6922 additions and 5723 deletions
41
docs/file.md
Normal file
41
docs/file.md
Normal file
|
|
@ -0,0 +1,41 @@
|
|||
---
|
||||
title = File
|
||||
---
|
||||
# File
|
||||
----------
|
||||
|
||||
This header provides cross platform file functionality.
|
||||
It has all the basics that you can expect which work exactly like the stdio counterparts:
|
||||
|
||||
* `fileOpen`
|
||||
* `fileClose`
|
||||
* `fileIsValid`
|
||||
* `fileRead`
|
||||
* `fileWrite`
|
||||
* `fileSeekEnd`
|
||||
* `fileRewind`
|
||||
* `fileTell`
|
||||
|
||||
Then there are a few helpers functions for reading / writing:
|
||||
|
||||
* Writing:
|
||||
* `filePutc`
|
||||
* `filePuts`
|
||||
* `filePrintf`
|
||||
* `fileWriteWhole`
|
||||
* Reading:
|
||||
* `fileReadWhole`
|
||||
* `fileReadWholeStr`
|
||||
|
||||
There are also some functions to get info about a file without having to open it:
|
||||
|
||||
* `fileExists`
|
||||
* `fileSize`
|
||||
* `fileGetTime`
|
||||
* `fileHasChanged`
|
||||
|
||||
And finally, there are some helper functions:
|
||||
|
||||
* `fileGetFullPath` (for windows)
|
||||
* `fileSplitPath` / `fileGetFilename` / `fileGetExtension`
|
||||
* `fileDelete`
|
||||
Loading…
Add table
Add a link
Reference in a new issue