NuDB Logo

PrevUpHomeNext

posix_file::open

Open a file.

void
open(
    file_mode mode,
    path_type const& path,
    error_code& ec);
Requirements

The file must not already be open.

Parameters

mode

The open mode, which must be a valid file_mode.

path

The path of the file to open.

ec

Set to the error, if any occurred.


PrevUpHomeNext