TIOCOUTQ

Get the output queue size

Synopsis:

#include <sys/ioctl.h>

#define TIOCOUTQ        _IOR('t', 115, int)

Arguments to ioctl():

Argument Value
fd A file descriptor that you obtained by opening the device
request TIOCOUTQ
Additional argument A pointer to an int

Description:

This command gets the output queue size. It's also implemented as the DCMD_CHR_OSCHARS devctl() command.

Input:

None.

Output:

The number of characters.

See also:

DCMD_CHR_OSCHARS, FIONREAD

ioctl() in the QNX Neutrino C Library Reference