DCMD_CHR_GETOBAND

Get out-of-band data stored by a device

Synopsis:

#include <sys/dcmd_chr.h>

#define DCMD_CHR_GETOBAND   __DIOF(_DCMD_CHR, 25, char *)

Arguments to devctl():

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

Description:

This command obtains out of band data stored by the device. This is usually associated with a serial driver.

Input:

None.

Output:

A bitwise OR of the following _OBAND_SER_* bits. This encoding depends on the individual device.

See also:

DCMD_CHR_PUTOBAND

devctl() in the QNX Neutrino C Library Reference