usbd_abort_pipe()

Abort all requests on a pipe

Synopsis:

#include <sys/usbdi.h>

int usbd_abort_pipe( struct usbd_pipe *pipe );

Arguments:

pipe
An opaque handle returned by usbd_open_pipe().

Library:

libusbdi

Description:

The usbd_abort_pipe() function aborts all requests on the specified pipe. You can use this function during an error condition (e.g. to abort a pending operation) or during normal operation (e.g. to halt an isochronous transfer).

Returns:

EOK
Success.

Classification:

QNX Neutrino, QNX 4

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

See also:

usbd_open_pipe(), usbd_close_pipe(), usbd_pipe_endpoint(), usbd_reset_pipe()