Home
last modified time | relevance | path

Searched refs:statfilename (Results 1 – 1 of 1) sorted by relevance

/external/libusb/libusb/os/
Dsunos_usb.c476 char filename[PATH_MAX + 1], statfilename[PATH_MAX + 1]; in sunos_check_device_and_status_open() local
521 (void) snprintf(statfilename, PATH_MAX, "%sstat", filename); in sunos_check_device_and_status_open()
533 if ((fdstat = open(statfilename, O_RDWR)) == -1) { in sunos_check_device_and_status_open()
535 statfilename, errno); in sunos_check_device_and_status_open()
541 statfilename, errno); in sunos_check_device_and_status_open()
573 if ((fdstat = open(statfilename, O_RDONLY)) == -1) { in sunos_check_device_and_status_open()
574 usbi_dbg("can't open %s: %d", statfilename, errno); in sunos_check_device_and_status_open()