1*0afa8e06SEd Maste #include <sys/ioctl.h> 2*0afa8e06SEd Maste 3*0afa8e06SEd Maste int posix_ioctl_check(int fd)4*0afa8e06SEd Maste posix_ioctl_check(int fd) 5*0afa8e06SEd Maste { 6*0afa8e06SEd Maste return ioctl(fd, -1, 0); 7*0afa8e06SEd Maste } 8