Abort all requests on a pipe
#include <sys/usbdi.h>
int usbd_abort_pipe( struct usbd_pipe *pipe );
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().
- EOK
- Success.
QNX Neutrino, QNX 4
| Safety: | |
| Cancellation point |
Yes |
| Interrupt handler |
No |
| Signal handler |
No |
| Thread |
Yes |
usbd_open_pipe(),
usbd_close_pipe(),
usbd_pipe_endpoint(),
usbd_reset_pipe()