usbd_reset_device()

Reset a USB device

Synopsis:

#include <sys/usbdi.h>

int usbd_reset_device( struct usbd_device *device ); 

Arguments:

device
The handle of a device.

Library:

libusbdi

Description:

You use the usbd_reset_device() function to reset the specified device.

Returns:

EOK
Success.
ENODEV
Device was removed.

Classification:

QNX Neutrino, QNX 4

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

See also:

usbd_attach(), usbd_connect()