usbd_close_pipe()

Close a pipe previously opened by usbd_open_pipe()

Synopsis:

#include <sys/usbdi.h>

int usbd_close_pipe( struct usbd_pipe *pipe ); 

Arguments:

pipe
An opaque handle returned by usbd_open_pipe().

Library:

libusbdi

Description:

You use the usbd_close_pipe() function to close a pipe that was previously opened via usbd_open_pipe().

Returns:

EOK
Success.
EBUSY
Active or pending I/O.

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_pipe_endpoint(), usbd_reset_pipe()