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
#define EPICS_PRIVATE_API
7
#include "
osiSock.h
"
8
9
/*
10
* epicsSocketUnsentCount ()
11
* See https://www.unix.com/man-page/osx/2/setsockopt
12
*/
13
int
epicsSocketUnsentCount
(
SOCKET
sock) {
14
int
unsent;
15
socklen_t len =
sizeof
(unsent);
16
if
(getsockopt(sock, SOL_SOCKET, SO_NWRITE, &unsent, &len) == 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
Darwin
osdSockUnsentCount.c
Generated by
1.8.11