Function nix::sched::setns

pub fn setns(fd: RawFd, nstype: CloneFlags) -> Result<()>
Documentation

reassociate thread with a namespace

See also setns(2)

On this page