this is what linux does :D also fix one or two `return ioctl` instead of `return ioctl_impl`
Some ports seem to be assuming that ioctl exists there and not in stropts.h