[Previous] [Contents] [Index] [Next]

usbd_abort_pipe()

Abort all requests on a pipe

Synopsis:

#include <sys/usbdi.h>

int usbd_abort_pipe( struct usbd_pipe *pipe );

Description:

The usbd_abort_pipe() function aborts all requests on a pipe. This function can be used during an error condition (e.g. to abort a pending operation) or during normal operation (e.g. to halt an isochronous transfer).

pipe
An opaque handle returned by usbd_open_pipe().

Returns:

EOK
Success.

Classification:

QNX 6, 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()


[Previous] [Contents] [Index] [Next]