I/O library ("io")
This library contains the functions necessary to work with the file system (files and directories).
Functions:
- io_setcwd - set the current working directory
- io_getcwd - returns the current working directory
- io_getexecpath - returns the absolute executable path
- io_rename - rename or move a file system item
- io_file_exists - returns whether the specified file exists and is accessible
- io_dir_exists - returns whether the specified directory exists and is accessible
- io_stat - returns information about a file system item
- io_dir_create - create a directory
- io_dir_delete - remove a directory
- io_file_delete - deletes a file
- io_file_write - writes byte buffer to file, creating or overwriting it, as necessary
- io_file_read - reads byte buffer from a file
- io_file - creates a io_file object, optionally opening it
- io_dir - creates a io_dir directory iterator object, set to read a specific directory
Objects and their methods:
Constants:
- FILE_*** - mode constants for io_file.open / io_file [function]
- SEEK_*** - mode constants for io_file.seek
- FST_*** - file system item type constants for io_stat
In this section:
- io_setcwd [function]
- io_getcwd [function]
- io_getexecpath [function]
- io_rename [function]
- io_file_exists [function]
- io_dir_exists [function]
- io_stat [function]
- io_dir_create [function]
- io_dir_delete [function]
- io_file_delete [function]
- io_file_write [function]
- io_file_read [function]
- io_file [object]
- io_file.open [method]
- io_file.close [method]
- io_file.read [method]
- io_file.write [method]
- io_file.seek [method]
- io_file.flush [method]
- io_file.setbuf [method]
- io_file [function]
- io_dir (directory_iterator) [object]
- io_dir [function]
- FILE_*** [constants]
- SEEK_*** [constants]
- FST_*** [constants]
- ALL SGScript I/O functions (A-Z)