Retrieve the device associated with the pipe
#include <sys/usbdi.h> struct usbd_device* usbd_pipe_device( struct usbd_pipe *pipe );
libusbdi
You use the usbd_pipe_device() to retrieve the device associated with pipe.
A pointer to a usbd_device structure that describes the device.
Safety: | |
---|---|
Cancellation point | No |
Interrupt handler | No |
Signal handler | No |
Thread | Yes |
usbd_abort_pipe(), usbd_open_pipe(), usbd_close_pipe(), usbd_reset_pipe()