Next: Device Filter, Previous: Device Map, Up: Device Interface
The function
device_set_status
sets the status of a device. The possible values for flavor and their interpretation is device specific.The function returns
D_SUCCESS
if some data was successfully written andD_NO_SUCH_DEVICE
if device does not denote a device port or the device is dead or not completely open.
The function
device_get_status
gets the status of a device. The possible values for flavor and their interpretation is device specific.The function returns
D_SUCCESS
if some data was successfully written andD_NO_SUCH_DEVICE
if device does not denote a device port or the device is dead or not completely open.