Belkin F8E211 Betriebsanweisung Seite 48

  • Herunterladen
  • Zu meinen Handbüchern hinzufügen
  • Drucken
  • Seite
    / 107
  • Inhaltsverzeichnis
  • LESEZEICHEN
  • Bewertet. / 5. Basierend auf Kundenbewertungen
Seitenansicht 47
usbd
_
detach() © 2007, QNX Software Systems GmbH & Co. KG.
Detach from the USB device
Synopsis:
#include <sys/usbdi.h>
int usbd_detach( struct usbd_device *device );
Arguments:
device An opaque handle from usbd
_
attach().
Library:
libusbdi
Description:
You use the usbd
_
detach() function to disconnect from a USB device that you
previously had attached to via usbd
_
attach().
The usbd
_
detach() function automatically closes any pipes previously opened via
usbd
_
open
_
pipe().
Returns:
EOK Success.
EBUSY I/O pending on the device.
Classification:
QNX Neutrino, QNX 4
Safety
Cancellation point Yes
Interrupt handler No
Signal handler No
Thread Yes
Caveats:
Don’t try to detach if there’s I/O pending on the device. If there is, usbd
_
detach() will
fail.
34 Chapter 4 USB Library Reference September 10, 2007
Seitenansicht 47
1 2 ... 43 44 45 46 47 48 49 50 51 52 53 ... 106 107

Kommentare zu diesen Handbüchern

Keine Kommentare