Prev, Top Notes, Next

Adventures In ioctl(2) Support
How do you make this hard to mis-implement?

int ioctl(int fildes, int request, ...);
int __ioctl(int fildes, int request, intptr_t arg);