Get the number of bytes outstanding in the send queue.
#include <sys/sockio.h>
#define FIONWRITE _IOR('f', 121, int)
| Argument | Value |
|---|---|
| fd | A file descriptor that you obtained by opening the device |
| request | FIONWRITE |
| Additional argument | A pointer to an int |
This command gets the number of bytes outstanding in the send queue.
None.
The number of bytes.
ioctl() in the QNX Neutrino C Library Reference