
2006, QNX Software Systems GmbH & Co. KG. usbd open pipe()
Initialize the pipe described by the device or endpoint descriptor
Synopsis:
#include <sys/usbdi.h>
int usbd
open pipe( struct usbd device *device,
usbd
descriptors t*desc,
struct usbd
pipe **pipe );
Description:
You use the usbd open pipe() function to initialize the pipe described
by the endpoint descriptor.
device An opaque handle used to identify the USB device.
desc A pointer to the device or endpoint descriptor that was
returned from usbd
parse descriptors().
pipe An opaque handle returned by usbd
open pipe().
Returns:
EINVAL Descriptor isn’t device or endpoint.
ENOMEM No memory for internal pipe structures.
Classification:
QNX Neutrino, QNX 4
Safety
Cancellation point No
Interrupt handler No
Signal handler No
Thread Yes
November 2, 2006 Chapter 4 USB Library Reference 69
Comentarios a estos manuales