
usbd urb status() 2006, QNX Software Systems GmbH & Co. KG.
Return status information on a URB
Synopsis:
#include <sys/usbdi.h>
int usbd
urb status( struct usbd urb *urb,
uint32 *status,
uint32 *len )
Description:
You use the usbd urb status() function to extract completion status
and data-transfer length from a URB.
urb An opaque handle (from usbd
alloc urb()).
status Completion status (see below).
len The actual length (in bytes) of the data transfer.
Completion status
The status field contains the completion status information, which
includes the following flags:
USBD STATUS INPROG
The operation is in progress.
USBD STATUS CMP
The operation is complete.
USBD STATUS CMP ERR
The operation is complete, but an error occurred.
USBD STATUS TIMEOUT
The operation timed out.
USBD STATUS ABORTED
The operation aborted.
98 Chapter 4 USB Library Reference November 2, 2006
Comentarios a estos manuales