
usbd
_
disconnect() © 2007, QNX Software Systems GmbH & Co. KG.
Disconnect a client driver from the USB stack
Synopsis:
#include <sys/usbdi.h>
int usbd_disconnect( struct usbd_connection *connection );
Arguments:
connection A handle for the USB stack, obtained by calling usbd
_
connect().
Library:
libusbdi
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().
Returns:
EOK Success.
Classification:
QNX Neutrino, QNX 4
Safety
Cancellation point Yes
Interrupt handler No
Signal handler No
Thread Yes
See also:
usbd
_
attach(), usbd
_
connect(), usbd
_
detach()
40 Chapter 4 • USB Library Reference September 10, 2007
Comentários a estes Manuais