Determine the size of the device's input buffer
#include <sys/dcmd_chr.h> #define DCMD_CHR_ISSIZE __DIOF(_DCMD_CHR, 27, unsigned)
Argument | Value |
---|---|
filedes | A file descriptor that you obtained by opening the device. |
dcmd | DCMD_CHR_ISSIZE |
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 input buffer.
None.
The size of the device's input buffer.