[][src]Function linux::syscall::setns

pub fn setns(fd: c_int, nstype: c_int) -> c_int

Associate a thread with a namespace.

[argument, fd] A file descriptor referring to the namespace.

[argument, nstype] Which namespace types can be joined.

= See also

  • link:man:setns(2)