Searched refs:bytesread (Results 1 – 2 of 2) sorted by relevance
56 ssize_t bytesread = recv(fd, &ack, sizeof(ack), MSG_DONTWAIT | MSG_PEEK); in checkError() local57 if (bytesread == -1) { in checkError()60 } else if (bytesread == (ssize_t) sizeof(ack) && ack.h.nlmsg_type == NLMSG_ERROR) { in checkError()207 ssize_t bytesread; in readDiagMsg() local209 bytesread = read(mSock, buf, sizeof(buf)); in readDiagMsg()211 if (bytesread < 0) { in readDiagMsg()215 uint32_t len = bytesread; in readDiagMsg()234 } while (bytesread > 0); in readDiagMsg()
99 ssize_t bytesread; in packagelist_parse() local115 while ((bytesread = getline(&buf, &buflen, fp)) > 0) { in packagelist_parse()