Get extended out-of-band data stored by a device
#include <sys/dcmd_chr.h> #define DCMD_CHR_GETOBAND_EXTENDED __DIOF(_DCMD_CHR, 39, unsigned int)
Argument | Value |
---|---|
filedes | A file descriptor that you obtained by opening the device. |
dcmd | DCMD_CHR_GETOBAND_EXTENDED |
dev_data_ptr | A pointer to an unsigned int |
n_bytes | sizeof(int) |
dev_info_ptr | NULL |
This command obtains extended out-of-band data stored by the device. Not all drivers support this command. The _OBAND_SER_EXTENDED bit is set in the value returned from the DCMD_CHR_GETOBAND command if the device has extended data.
None.
The meaning of the extended data depends on the individual device.