Caution: This version of this document is no longer maintained. For the latest documentation, see http://www.qnx.com/developers/docs.

usbd_free_urb()

Free the USB Request Block allocated by usbd_alloc_urb()

Synopsis:

#include <sys/usbdi.h>

struct usbd_urb *usbd_free_urb( struct usbd_urb *urb );

Arguments:

urb
A pointer to the URB to be freed.

Library:

libusbdi

Description:

The usbd_free_urb() function frees the memory allocated by usbd_alloc_urb().

Returns:

EOK
Success.

Classification:

QNX Neutrino, QNX 4

Safety:
Cancellation point No
Interrupt handler No
Signal handler No
Thread Yes

See also:

usbd_alloc(), usbd_alloc_urb(), usbd_free(), usbd_mphys()