Function lrs::swap::swap_off

Removes a swap file/device.

Syntax

fn swap_off<P>(path: P) -> Result<(), Errno>
    where P: ToCString,

Arguments

NameDescription
path

A path to the file/device.

See also