Open a file, handling path encoding correctly across platforms.
Synopsis
Declared in <util/fs.h>
FILE*
fopen(
fs::path const& p,
char const* mode);
Return Value
The opened FILE stream, or nullptr on failure.
Parameters
Name |
Description |
p |
The path of the file to open. |
mode |
The C stdio mode string (for example "rb"). |
Created with MrDocs