cast last ioctl argument to void always