This is Unofficial EPICS BASE Doxygen Site
Main Page
Related Pages
Modules
Namespaces
Classes
Files
File List
File Members
osdSockUnsentCount.c
Go to the documentation of this file.
1
/*************************************************************************\
2
* EPICS BASE is distributed subject to a Software License Agreement found
3
* in file LICENSE that is included with this distribution.
4
\*************************************************************************/
5
6
#include <linux/sockios.h>
7
#define EPICS_PRIVATE_API
8
#include "
osiSock.h
"
9
10
/*
11
* epicsSocketUnsentCount ()
12
* See https://linux.die.net/man/7/tcp
13
*/
14
int
epicsSocketUnsentCount
(
SOCKET
sock) {
15
int
unsent;
16
if
(ioctl(sock, SIOCOUTQ, &unsent) == 0)
17
return
unsent;
18
return
-1;
19
}
epicsSocketUnsentCount
int epicsSocketUnsentCount(SOCKET sock)
Definition:
osdSockUnsentCount.c:13
SOCKET
int SOCKET
Definition:
osdSock.h:31
osiSock.h
modules
libcom
src
osi
os
Linux
osdSockUnsentCount.c
Generated by
1.8.11