summaryrefslogtreecommitdiffstats
path: root/libc-top-half/musl/src/linux/ioperm.c
blob: 08c6d8b86ca1b6f06ba54854a6898d7ea4a1ebc5 (plain)
1
2
3
4
5
6
7
8
9
10
#include "syscall.h"

#ifdef SYS_ioperm
#include <sys/io.h>

int ioperm(unsigned long from, unsigned long num, int turn_on)
{
	return syscall(SYS_ioperm, from, num, turn_on);
}
#endif