Home | History | Annotate | Download | only in wifi

Lines Matching defs:nread

344     int nread;
373 while ((nread = TEMP_FAILURE_RETRY(read(srcfd, buf, sizeof(buf)))) != 0) {
374 if (nread < 0) {
381 TEMP_FAILURE_RETRY(write(destfd, buf, nread));
655 size_t nread = buflen - 1;
664 result = wifi_ctrl_recv(buf, &nread);
677 buf[nread] = '\0';
679 if (result == 0 && nread == 0) {
703 nread -= (match2 - match);
704 memmove(match + 1, match2 + 1, nread - (match - buf) + 1);
713 nread -= (match + 1 - buf);
714 memmove(buf, match + 1, nread + 1);
722 return nread;