Of fucking course glibc would have int ioctl(int fd, unsigned long request, ...); instead of int ioctl(int fildes, int request, ...); (POSIX)