This is Unofficial EPICS BASE Doxygen Site
osdSockUnsentCount.c File Reference
#include <linux/sockios.h>
#include "osiSock.h"
+ Include dependency graph for osdSockUnsentCount.c:

Go to the source code of this file.

Macros

#define EPICS_PRIVATE_API
 

Functions

int epicsSocketUnsentCount (SOCKET sock)
 

Macro Definition Documentation

#define EPICS_PRIVATE_API

Definition at line 7 of file osdSockUnsentCount.c.

Function Documentation

int epicsSocketUnsentCount ( SOCKET  sock)

Definition at line 14 of file osdSockUnsentCount.c.

14  {
15  int unsent;
16  if (ioctl(sock, SIOCOUTQ, &unsent) == 0)
17  return unsent;
18  return -1;
19 }