FIONWRITE

Get the number of bytes outstanding in the send queue.

Synopsis:

#include <sys/sockio.h>

#define FIONWRITE       _IOR('f', 121, int)

Arguments to ioctl():

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

Description:

This command gets the number of bytes outstanding in the send queue.

Input:

None.

Output:

The number of bytes.

See also:

ioctl() in the QNX Neutrino C Library Reference