Lines Matching defs:error
57 /* error handling */
468 "error sending control message: %d", rval);
1249 * status of the device if error or short xfer.
1256 int error;
1281 error = usb_get_status(stat_fd);
1282 usb_error_str(save_errno, "error %d doing io: errno=%d",
1283 error, save_errno);
2264 int status, error;
2268 error = (int)read(fd, &status, (size_t)sizeof (status));
2269 if (error != (int)sizeof (status)) {
2271 error);
2466 int status, error;
2470 error = (int)read(fd, &status, sizeof (status));
2471 if (error == (int)sizeof (status)) {
2907 * error handling
2910 * lookup error string
2912 * Returns: error string
2922 return ("No error");
2936 return ("Unknown error");
2941 * stores the error number in the global usb_error_errno
2943 * Returns: negative error number
2948 usb_dprintf(DEBUG_FUNCTIONS, "usb_error(): error=%d\n", x);
2958 * creates error string
2973 usb_dprintf(DEBUG_ERRORS, "USB error (%d): %s\n", x, usb_error_string);