AutofilesSomewhat simpler loading of
files
Xiqual 0.9.1
AutofilesSomewhat simpler loading of files
- file_new
- Open an autofile.
- file_free
- Close autofile and free all buffers.
- file_initbuf
- Allocate a buffer of the given size.
- file_load
- Load an entire file into memory.
- file_seek
- Seek-wrapper for SEEK_SET functionality.
- file_scan
- Seek-wrapper for SEEK_CUR functionality.
- file_read
- Read a number of bytes into the buffer from an
autofile.
- file_readhook
- Set an autofile's read hook pointer.
Automagic file-handling. Well, sorta..you can set an
autofile's read hook to do funky things while a file is loading
piece by piece. It was originally meant to be used more throughout
Xiqual, but has not, for some reason. It would be useful to let
higher level functions accept an autofile with its hooks in place,
so that you can do some extra "magic" while a function still does
its manipulation.
This page was generated with the help of DOC++.