Modified ioctl() numbers to be via _IO macros.