Chapter 7. Return values

There are two types of return values used in libusb v0.1. The first is a handle returned by usb_open. The second is an int. In all cases where an int is returned, >= 0 is a success and < 0 is an error condition.