also start prefering NtDll API. so far: * NtQueryInformationFile * NtClose adds a performance workaround for windows unicode conversion. but that should probably be removed before merging
11 lines
184 B
C
Vendored
11 lines
184 B
C
Vendored
#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
|