Get out-of-band data stored by a device
#include <sys/dcmd_chr.h> #define DCMD_CHR_GETOBAND __DIOF(_DCMD_CHR, 25, char *)
| Argument | Value |
|---|---|
| filedes | A file descriptor that you obtained by opening the device. |
| dcmd | DCMD_CHR_GETOBAND |
| dev_data_ptr | A pointer to a char |
| n_bytes | sizeof(char) |
| dev_info_ptr | NULL |
This command obtains out of band data stored by the device. This is usually associated with a serial driver.
None.
A bitwise OR of the following _OBAND_SER_* bits. This encoding depends on the individual device.