Files
my-os-project2/ulib/system/ioctl.c

12 lines
304 B
C

#include <stdint.h>
#include <stddef.h>
#include <system/ioctl.h>
#include <sysdefs/ioctl.h>
#include <sysdefs/syscall.h>
#include <syscall/syscall.h>
int32_t ioctl(uint64_t ioh, uint64_t cmd, uint64_t arg1, uint64_t arg2, uint64_t arg3) {
return syscall(SYS_IOCTL, ioh, cmd, arg1, arg2, arg3, 0);
}