#include #include int ioctl(int fd, uintptr_t cmd, uintptr_t arg) { int res = DO_SYSCALL_3(SYS_IOCTL, fd, cmd, arg); RETURN_WITH_ERRNO(res, res, -1); }