summaryrefslogtreecommitdiffstats
path: root/lib/libusb/libusb.3
diff options
context:
space:
mode:
authorhselasky <hselasky@FreeBSD.org>2011-09-19 08:52:06 +0000
committerhselasky <hselasky@FreeBSD.org>2011-09-19 08:52:06 +0000
commitc186259e3181ae2f836aef914837c5abff6820fc (patch)
tree5f1edfe8c0f6f8eefa57d51cf108c2d03e053aa5 /lib/libusb/libusb.3
parentd3ab0cf954ad6a22d6d4abd24a9711534e70af19 (diff)
downloadFreeBSD-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.311
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
OpenPOWER on IntegriCloud