summaryrefslogtreecommitdiff
path: root/gusb/gusb-util.c
diff options
context:
space:
mode:
Diffstat (limited to 'gusb/gusb-util.c')
-rw-r--r--gusb/gusb-util.c10
1 files changed, 10 insertions, 0 deletions
diff --git a/gusb/gusb-util.c b/gusb/gusb-util.c
index f471337..4ca830d 100644
--- a/gusb/gusb-util.c
+++ b/gusb/gusb-util.c
@@ -11,6 +11,16 @@
#include "gusb-util.h"
+/**
+ * g_usb_strerror:
+ * @error_code: a libusb error code
+ *
+ * Converts the error code into a string
+ *
+ * Return value: String, or %NULL
+ *
+ * Since: 0.1.0
+ **/
const gchar *
g_usb_strerror (gint error_code)
{