Get the current frame number and frame length for a device
int usbd_get_frame( struct usdb_device *device,
_int32 *fnum,
_int32 *flen );
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.
- EOK
- Success.
- ENODEV
- The device has been removed.
QNX Neutrino, QNX 4
| Safety: | |
| Cancellation point |
Yes |
| Interrupt handler |
No |
| Signal handler |
No |
| Thread |
Yes |
usbd_attach()