FIONSPACE

Get the amount of space in the send queue

Synopsis:

#include <sys/sockio.h>

#define FIONSPACE       _IOR('f', 120, int)

Arguments to ioctl():

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

Description:

This command gets the amount of space in the send queue.

Input:

None.

Output:

The amount of space.

See also:

ioctl() in the QNX Neutrino C Library Reference