Function lrs::syscall::mkdirat

Creates a directory relative to a directory.

Syntax

fn mkdirat(dir: i32, file: &CStr, mode: u16) -> i32

Arguments

NameDescription
dir

The directory relative to which relative paths will be interpreted.

file

The path of the new directory.

mode

The mode of the new directory.

Return value

Returns success or an error value.

See also