[][src]Function sys_mount::swapoff

pub fn swapoff<P: AsRef<Path>>(dest: P) -> Result<()>

Unmounts a swap partition using libc::swapoff