diff options
author | hselasky <hselasky@FreeBSD.org> | 2011-09-19 08:52:06 +0000 |
---|---|---|
committer | hselasky <hselasky@FreeBSD.org> | 2011-09-19 08:52:06 +0000 |
commit | c186259e3181ae2f836aef914837c5abff6820fc (patch) | |
tree | 5f1edfe8c0f6f8eefa57d51cf108c2d03e053aa5 /lib/libusb/libusb.3 | |
parent | d3ab0cf954ad6a22d6d4abd24a9711534e70af19 (diff) | |
download | FreeBSD-src-c186259e3181ae2f836aef914837c5abff6820fc.zip FreeBSD-src-c186259e3181ae2f836aef914837c5abff6820fc.tar.gz |
Implement missing USB debug information functions.
Approved by: re (kib)
MFC after: 1 week
Diffstat (limited to 'lib/libusb/libusb.3')
-rw-r--r-- | lib/libusb/libusb.3 | 11 |
1 files changed, 10 insertions, 1 deletions
diff --git a/lib/libusb/libusb.3 b/lib/libusb/libusb.3 index 1f52b9e..b69922e 100644 --- a/lib/libusb/libusb.3 +++ b/lib/libusb/libusb.3 @@ -63,6 +63,14 @@ Other libusb routines may not be called after this function. Get the ASCII representation of the error given by the .Fa code argument. +This function does not return NULL. +.Pp +.Ft const char * +.Fn libusb_error_name "int code" +Get the ASCII representation of the error enum given by the +.Fa code +argument. +This function does not return NULL. .Pp .Ft void .Fn libusb_set_debug "libusb_context *ctx" "int level" @@ -502,7 +510,8 @@ The library is also compliant with LibUSB version 0.1.12. .Sh SEE ALSO .Xr libusb20 3 , .Xr usb 4 , -.Xr usbconfig 8 +.Xr usbconfig 8 , +.Xr usbdump 8 .Pp .Pa http://libusb.sourceforge.net/ .Sh HISTORY |