Function lrs::fs::set_root

Changes the root directory of the process.

Syntax

fn set_root<P>(path: P) -> Result<(), Errno>
    where P: ToCString,

Arguments

NameDescription
path

The new root directory.

See also