![]() |
void create( file_mode mode, path_type const& path, error_code& ec);
After the file is created, it is opened as if by open(mode, path, ec).
The file must not already exist, or else errc::file_exists
is returned.
|
Name |
Description |
|---|---|
|
|
The open mode, which must be a valid |9|file_mode. |
|
|
The path of the file to create. |
|
|
Set to the error, if any occurred. |