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

usbd_disconnect()

Disconnect a client driver from the USB stack

Synopsis:

#include <sys/usbdi.h>

int usbd_disconnect( struct usbd_connection *connection );

Description:

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().

connection
Identifies the USB stack (from usbd_connect()).

Returns:

EOK
Success.

Classification:

QNX 6, QNX 4

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

See also:

usbd_attach(), usbd_connect(), usbd_detach()


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