Function lrs::env::get_cwd

Retrieves the current working directory.

Syntax

fn get_cwd<H>(buf: &mut NoNullString<H>) -> Result<&mut NoNullStr, Errno>
    where H: Allocator,

Arguments

NameDescription
buf

The buffer in which the current working directory will be stored.