Function lrs::syscall::swapoff

Removes a swap file/device.

Syntax

fn swapoff(path: &CStr) -> i32

Arguments

NameDescription
path

The path of the file/device.

See also