Caution: This version of this document is no longer maintained. For the latest documentation, see http://www.qnx.com/developers/docs.

usbd_pipe_device()

Retrieve the device associated with the pipe

Synopsis:

#include <sys/usbdi.h>

struct usbd_device* 
  usbd_pipe_device( struct usbd_pipe *pipe );

Arguments:

pipe
An opaque handle returned by usbd_open_pipe().

Library:

libusbdi

Description:

You use the usbd_pipe_device() to retrieve the device associated with pipe.

Returns:

A pointer to a usbd_device structure that describes the device.

Classification:

QNX Neutrino, QNX 4

Safety:
Cancellation point No
Interrupt handler No
Signal handler No
Thread Yes

See also:

usbd_abort_pipe(), usbd_open_pipe(), usbd_close_pipe(), usbd_reset_pipe()