Function lrs::syscall::chdir

Changes the current working directory.

Syntax

fn chdir(path: &CStr) -> i32

Arguments

NameDescription
path

The new working directory.

Return value

Returns success or an error value.

See also