[−][src]Function linux::syscall::swapon
pub fn swapon(path: KStr, flags: c_int) -> c_int
Adds a swap file/device.
[argument, path] The path of the file/device.
[argument, flags] Flags to modify the swap behavior.
= See also
- link:man:swapon(2)