NuDB Logo

PrevUpHomeNext

posix_file::erase

Remove a file from the file system.

Synopsis
static
void
erase(
    path_type const& path,
    error_code& ec);
Description

It is not an error to attempt to erase a file that does not exist.

Parameters

Name

Description

path

The path of the file to remove.

ec

Set to the error, if any occurred.


PrevUpHomeNext