summaryrefslogtreecommitdiff
path: root/libusb/sync.c
diff options
context:
space:
mode:
authorDaniel Drake <dsd@gentoo.org>2008-05-05 21:34:31 +0100
committerDaniel Drake <dsd@gentoo.org>2008-05-05 21:36:59 +0100
commit885c2a5de69d6b7d8902bb55d6d83680a5a1a6e5 (patch)
treeaef9f353266cf4414c6d48b250148e4eeafcdc90 /libusb/sync.c
parent59c205d542b43d79fe28622dbe8f03a3a3300b6f (diff)
downloadlibusb-885c2a5de69d6b7d8902bb55d6d83680a5a1a6e5.tar.gz
documentation touchups
Diffstat (limited to 'libusb/sync.c')
-rw-r--r--libusb/sync.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/libusb/sync.c b/libusb/sync.c
index 6f1f07b..c2790fb 100644
--- a/libusb/sync.c
+++ b/libusb/sync.c
@@ -41,7 +41,6 @@ static void ctrl_transfer_cb(struct libusb_transfer *transfer)
/* caller interprets result and frees transfer */
}
-/* FIXME: does this support partial transfers? */
/** \ingroup syncio
* Perform a USB control transfer. The direction of the transfer is inferred
* from the bmRequestType field of the setup packet.
@@ -58,7 +57,7 @@ static void ctrl_transfer_cb(struct libusb_transfer *transfer)
* \param timeout timeout (in millseconds) that this function should wait
* before giving up due to no response being received. For no timeout, use
* value 0.
- * \returns 0 on success
+ * \returns on success, the number of bytes actually transferred
* \returns LIBUSB_ERROR_TIMEOUT if the transfer timed out
* \returns LIBUSB_ERROR_PIPE if the control request was not supported by the
* device