Searched defs:readCount (Results 1 - 1 of 1) sorted by relevance

/illumos-gate/usr/src/cmd/cmd-inet/usr.lib/mdnsd/
H A DmDNSPosix.c1106 ssize_t readCount; local
1116 readCount = read(sd, buff, sizeof buff);
1121 if (((char*) &pNLMsg[1] > (buff + readCount)) || // i.e. *pNLMsg extends off end of buffer
1122 ((char*) pNLMsg + pNLMsg->nlmsg_len > (buff + readCount)))
1127 readCount -= ((char*) pNLMsg - buff);
1128 memmove(buff, pNLMsg, readCount);
1132 readCount += read(sd, buff + readCount, sizeof buff - readCount);
1133 continue; // spin around and revalidate with new readCount
1195 ssize_t readCount; local
[all...]

Completed in 62 milliseconds