ioctl_nsfs − ioctl() operations for Linux namespaces
#include
<linux/nsfs.h> /* Definition of NS_*
constants */
#include <sys/ioctl.h>
int ioctl(int fd, unsigned long op, ...);
NS_GET_USERNS(2const)
NS_GET_PARENT(2const)
NS_GET_NSTYPE(2const)
NS_GET_OWNER_UID(2const)
|
ENOTTY |
fd does not refer to a /proc/pid/ns/* file. |
Linux.
ioctl(2), fstat(2), proc(5), namespaces(7)