Close a pipe previously opened by usbd_open_pipe()
#include <sys/usbdi.h> int usbd_close_pipe( struct usbd_pipe *pipe );
libusbdi
You use the usbd_close_pipe() function to close a pipe that was previously opened via usbd_open_pipe().
Safety: | |
---|---|
Cancellation point | No |
Interrupt handler | No |
Signal handler | No |
Thread | Yes |
usbd_abort_pipe(), usbd_open_pipe(), usbd_pipe_endpoint(), usbd_reset_pipe()