Determine the size of the device's output buffer
#include <sys/dcmd_chr.h> #define DCMD_CHR_OSSIZE __DIOF(_DCMD_CHR, 28, unsigned)
Argument | Value |
---|---|
filedes | A file descriptor that you obtained by opening the device. |
dcmd | DCMD_CHR_OSSIZE |
dev_data_ptr | A pointer to an unsigned |
n_bytes | sizeof(unsigned) |
dev_info_ptr | NULL |
This command determines the size of the device's output buffer.
None.
The size of the device's output buffer.