| Updated: October 28, 2024 |
Get the output queue size
#include <sys/ioctl.h>
#define TIOCOUTQ _IOR('t', 115, int)
| Argument | Value |
|---|---|
| fd | A file descriptor that you obtained by opening the device |
| request | TIOCOUTQ |
| Additional argument | A pointer to an int |
This command gets the output queue size. It's also implemented as the DCMD_CHR_OSCHARS devctl() command.
None.
The number of characters.