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

Caution: This version of this document is no longer maintained. For the latest documentation, see http://www.qnx.com/developers/docs.

usbd_get_frame()

Get the current frame number and frame length for a device

Synopsis:

int usbd_get_frame( struct usdb_device *device,
                    _int32 *fnum,
                    _int32 *flen );

Description:

This function gets the current frame number and frame length for a specific device (a handle from usbd_attach()).

fnum
If non-NULL, this is set to the frame number.
flen
If non-NULL, this is set to the frame length.

Returns:

EOK
Success.
ENODEV
The device has been removed.

Classification:

QNX Neutrino, QNX 4

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

See also:

usbd_attach()


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