Home | History | Annotate | Download | only in wifi

Lines Matching defs:nread

227     int nread;
249 while ((nread = read(srcfd, buf, sizeof(buf))) != 0) {
250 if (nread < 0) {
257 write(destfd, buf, nread);
425 size_t nread = buflen - 1;
439 result = wpa_ctrl_recv(monitor_conn, buf, &nread);
446 buf[nread] = '\0';
447 /* LOGD("wait_for_event: result=%d nread=%d string=\"%s\"\n", result, nread, buf); */
449 if (result == 0 && nread == 0) {
468 nread -= (match+1-buf);
469 memmove(buf, match+1, nread+1);
472 return nread;