PCIOCREAD
case PCIOCREAD:
if (ioctl(pci_fd, PCIOCREAD, &io) == -1)
if (ioctl(pci_fd, PCIOCREAD, &io) == -1)
const cap_ioctl_t pcifd_ioctls[] = { PCIOCREAD, PCIOCWRITE, PCIOCGETBAR,
if (ioctl(fd, PCIOCREAD, &pi) < 0)
if (ioctl(fd, PCIOCREAD, &pi) < 0)