core: Fix return value of usbi_clock_gettime() In most cases, usbi_clock_gettime() will map to the standard library's clock_gettime() function. The semantics of this function are that it returns -1 upon failure with the error code available in the errno variable. The backends that need to implement this function should follow the same semantics, and the return value of usbi_clock_gettime() should not be directly propagated upwards. Signed-off-by: Chris Dickens <christopher.a.dickens@gmail.com>
libusb is a library for USB device access from Linux, macOS, Windows, OpenBSD/NetBSD and Haiku userspace. It is written in C (Haiku backend in C++) and licensed under the GNU Lesser General Public License version 2.1 or, at your option, any later version (see COPYING).
libusb is abstracted internally in such a way that it can hopefully be ported to other operating systems. Please see the PORTING file for more information.
libusb homepage: http://libusb.info/
Developers will wish to consult the API documentation: http://api.libusb.info
Use the mailing list for questions, comments, etc: http://mailing-list.libusb.info
(Please use the mailing list rather than mailing developers directly)