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