aboutsummaryrefslogtreecommitdiff
path: root/src/linux/ioperm.c
blob: d8ba7845e6c3ebb4bc2156c52d14aa2bb71495b6 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
#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


#ifdef TEST
int
main(void) {
	return 0;
}
#endif