Warning: main(/www/www/htdocs/style/globals.php) [function.main]: failed to open stream: No such file or directory in /www/www/docs/6.4.1/ddk_en/usb/usbd_alloc_urb.html on line 1
Warning: main() [function.include]: Failed opening '/www/www/htdocs/style/globals.php' for inclusion (include_path='.:/www/www/common:/www/www/php/lib/php') in /www/www/docs/6.4.1/ddk_en/usb/usbd_alloc_urb.html on line 1
Warning: main(/www/www/htdocs/style/header.php) [function.main]: failed to open stream: No such file or directory in /www/www/docs/6.4.1/ddk_en/usb/usbd_alloc_urb.html on line 8
Warning: main() [function.include]: Failed opening '/www/www/htdocs/style/header.php' for inclusion (include_path='.:/www/www/common:/www/www/php/lib/php') in /www/www/docs/6.4.1/ddk_en/usb/usbd_alloc_urb.html on line 8
Allocate a USB Request Block for subsequent URB-based operations
#include <sys/usbdi.h>
struct usbd_urb *usbd_alloc_urb( struct usbd_urb *link );
- link
- Specifies multiple URBs linked together. (Not yet implemented.)
libusbdi
The usbd_alloc_urb() function allocates a USB
Request Block (URB) to be used for subsequent URB-based
I/O transfers.
To free the block, use usbd_free_urb().
A pointer to the start of the allocated block, or NULL if
there isn't enough memory.
- ENOMEM
- Insufficient memory available.
QNX Neutrino, QNX 4
Safety: | |
Cancellation point |
No |
Interrupt handler |
No |
Signal handler |
No |
Thread |
Yes |
usbd_alloc(),
usbd_free(),
usbd_free_urb(),
usbd_mphys()
Warning: main(/www/www/htdocs/style/footer.php) [function.main]: failed to open stream: No such file or directory in /www/www/docs/6.4.1/ddk_en/usb/usbd_alloc_urb.html on line 121
Warning: main() [function.include]: Failed opening '/www/www/htdocs/style/footer.php' for inclusion (include_path='.:/www/www/common:/www/www/php/lib/php') in /www/www/docs/6.4.1/ddk_en/usb/usbd_alloc_urb.html on line 121