Belkin F8E211 Uživatelská příručka Strana 35

  • Stažení
  • Přidat do mých příruček
  • Tisk
  • Strana
    / 107
  • Tabulka s obsahem
  • KNIHY
  • Hodnocené. / 5. Na základě hodnocení zákazníků
Zobrazit stránku 34
© 2007, QNX Software Systems GmbH & Co. KG. usbd
_
alloc
_
urb()
Allocate a USB Request Block for subsequent URB-based operations
Synopsis:
#include <sys/usbdi.h>
struct usbd_urb *usbd_alloc_urb( struct usbd_urb *link );
Arguments:
link Specifies multiple URBs linked together. (Not yet implemented.)
Library:
libusbdi
Description:
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().
Returns:
A pointer to the start of the allocated block, or NULL if there isn’t enough memory.
Errors:
ENOMEM Insufficient memory available.
Classification:
QNX Neutrino, QNX 4
Safety
Cancellation point No
Interrupt handler No
Signal handler No
Thread Yes
See also:
usbd
_
alloc(), usbd
_
free(), usbd
_
free
_
urb(), usbd
_
mphys()
September 10, 2007 Chapter 4 USB Library Reference 21
Zobrazit stránku 34
1 2 ... 30 31 32 33 34 35 36 37 38 39 40 ... 106 107

Komentáře k této Příručce

Žádné komentáře