OpenResult.OK on success, or an error code.FiberFile.open
OpenResult open(scope const(char)[] path, int flags) @trustedOpen a file. Synchronous — does not yield the fiber.
Parameters
path | Filesystem path to open. |
flags | POSIX open flags (O_RDONLY, O_RDWR, etc.). |