USBD_CFG_CLIENT_UPDATE

Purpose

Updates client connection information.
Warning: This IOCTL is for use ONLY by the configuration method of the USB System Device Driver.

Syntax

int ioctl (file, USBD_CFG_CLIENT, arg)

Parameter

Item Description
file File descriptor that is obtained when USBD special file was opened.
arg Address of the USBENUMCFG structure that is aligned on a 4-byte boundary (see the CLIENTUPDATE structure in the /usr/include/sys/usbdi.h file).

Description

This ioctl is used by the configuration procedure defined by the USBD to update the device selection criteria that are used by the client driver. Specifically, it updates the hcdevno, addr, cfg, and intfc fields to reflect the current values for the device that is managed by the client.

Execution Environment

This function can be called from the user process environment only.

Return Values

Value Description
0 Indicates successful completion.
EINVAL Indicates wrong device selection criteria.
ENODEV Indicates that no device is found with the device selection criteria.