Lines Matching refs:len
254 int len;
272 ioctl(FD, FIONREAD, &len);
274 printf("goodbye1: len=%d -- ", len);
275 rlen = read(FD, dumbuf, min(len, DUMBUFLEN));
282 ioctl(FD, FIONREAD, &len);
283 printf("goodbye2: len=%d -- ", len);
284 rlen = read(FD, dumbuf, min(len, DUMBUFLEN));
299 int len, retry = 0;
304 ioctl(FD, FIONREAD, &len);
305 if (len) {
306 len = read(FD, dumbuf, min(len, DUMBUFLEN));
311 dumbuf[len] = '\0';