summaryrefslogtreecommitdiffstats
path: root/libc-top-half/musl/src/linux/setns.c
blob: 0afec813f126c9d21b41d879ad930bbe48bfc0ea (plain)
1
2
3
4
5
6
7
8
#define _GNU_SOURCE
#include <sched.h>
#include "syscall.h"

int setns(int fd, int nstype)
{
	return syscall(SYS_setns, fd, nstype);
}