usbd_device_extra
![]() |
![]() |
![]() |
![]() |
usbd_device_extra()
Get a pointer to the memory allocated by the extra parameter
Synopsis:
#include <sys/usbdi.h> void *usbd_device_extra( struct usbd_device *device );
Arguments:
- device
- A handle obtained by calling usbd_attach().
Library:
libusbdi
Description:
You use the usbd_device_extra() function to get a pointer to the additional memory allocated via the extra parameter in usbd_attach().
Returns:
A pointer to the additional memory, or NULL if no device-specific memory was allocated by usbd_attach().
Classification:
| Safety: | |
|---|---|
| Cancellation point | No |
| Interrupt handler | No |
| Signal handler | No |
| Thread | Yes |
See also:
usbd_args_lookup(), usbd_attach() usbd_configuration_descriptor(), usbd_device_lookup(), usbd_device_descriptor(), usbd_endpoint_descriptor(), usbd_hcd_info(), usbd_hub_descriptor(), usbd_interface_descriptor(), usbd_languages_descriptor(), usbd_parse_descriptors(), usbd_string(), usbd_urb_status()
![]() |
![]() |
![]() |
![]() |
![[Previous]](prev.gif)
![[Contents]](contents.gif)
![[Index]](keyword_index.gif)
![[Next]](next.gif)