add ioctl(...) to check pq options