Searched refs:fdstat (Results 1 – 1 of 1) sorted by relevance
/external/libusb/libusb/os/ |
D | sunos_usb.c | 478 int fd, fdstat, mode; in sunos_check_device_and_status_open() local 533 if ((fdstat = open(statfilename, O_RDWR)) == -1) { in sunos_check_device_and_status_open() 537 count = write(fdstat, &control, sizeof (control)); in sunos_check_device_and_status_open() 542 (void) close(fdstat); in sunos_check_device_and_status_open() 547 close (fdstat); in sunos_check_device_and_status_open() 573 if ((fdstat = open(statfilename, O_RDONLY)) == -1) { in sunos_check_device_and_status_open() 582 hpriv->eps[ep_index].statfd = fdstat; in sunos_check_device_and_status_open() 583 usbi_dbg("ep=0x%02x datafd=%d, statfd=%d", ep_addr, fd, fdstat); in sunos_check_device_and_status_open()
|