2D Vector Graphics Engine
A thin abstraction over a native OS file IO [C++ API].
A thin wrapper around a native OS file support. The file handle is always
intptr_t and it refers to either a file descriptor on POSIX targets and file handle on Windows targets.
Tests whether the file is open.
Closes the file (if open) and sets the file handle to -1.