Middleware, development tools, realtime operating system
software and services for superior embedded design


Home
QNX Community Resources
QNX Documentation Library
usbd_device_extra

usbd_device_extra

QNX Software Systems
Developer Resources
Blogs
Board support packages
Foundry27 projects
Forums
Hardware support listing
Online video tutorials
Product documentation
Technical Articles

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:

QNX Neutrino, QNX 4

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()