![]() |
![]() |
![]() |
![]() |
Get a pointer to the memory allocated by the extra parameter
#include <sys/usbdi.h> void *usbd_device_extra( struct usbd_device *device );
libusbdi
You use the usbd_device_extra() function to get a pointer to the additional memory allocated via the extra parameter in usbd_attach().
A pointer to the additional memory, or NULL if no device-specific memory was allocated by usbd_attach().
| Safety: | |
|---|---|
| Cancellation point | No |
| Interrupt handler | No |
| Signal handler | No |
| Thread | Yes |
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()
![]() |
![]() |
![]() |
![]() |