nix::sched

Function setns

Source
pub fn setns(fd: RawFd, nstype: CloneFlags) -> Result<()>
Expand description

reassociate thread with a namespace

See also setns(2)