of course mips has different ioctl constants