Function lrs::syscall::umount

Unmounts a filesystem.

Syntax

fn umount(dst: &CStr, flags: i32) -> i32

Arguments

NameDescription
dst

Where the filesystem is mounted.

flags

Flags used when unmounting the filesystem.

Return value

Returns success or an error value.

See also