![]() |
![]() |
![]() |
![]() |
Disconnect a client driver from the USB stack
#include <sys/usbdi.h> int usbd_disconnect( struct usbd_connection *connection );
libusbdi
You use the usbd_disconnect() to disconnect a client driver that had been previously connected to the USB stack via the usbd_connect() function.
The usbd_disconnect() function automatically closes any pipes previously opened via usbd_attach().
| Safety: | |
|---|---|
| Cancellation point | Yes |
| Interrupt handler | No |
| Signal handler | No |
| Thread | Yes |
usbd_attach(), usbd_connect(), usbd_detach()
![]() |
![]() |
![]() |
![]() |