Museum

Home

Lab Overview

Retrotechnology Articles

Online Manuals

⇒ usbd_get_frame

Media Vault

Software Library

Restoration Projects

Artifacts Sought

usbd_get_frame

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

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 );

Arguments:

device
The handle for the device, obtained by calling usbd_attach().
fnum
If non-NULL, this is set to the frame number.
flen
If non-NULL, this is set to the frame length.

Library:

libusbdi

Description:

This function gets the current frame number and frame length for the specified device.

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]

Typewritten Software • bear@typewritten.org • Edmonds, WA 98026