Lines Matching defs:len
268 ssize_t c, len;
297 while ((len = getline(&buf, &buflen, sfi)) != -1) {
298 while (len > 0 && isspace((unsigned char)buf[len - 1]))
299 buf[--len] = '\0';
300 (void) printf("%.*s\n", (int)len, buf);
303 host = strnstr(buf, WHOIS_SERVER_ID, len);
306 for (p = host; p < buf + len; p++) {
313 (int)(buf + len - host), host);
315 strnstr(buf, WHOIS_ORG_SERVER_ID, len)) != NULL) {
317 for (p = host; p < buf + len; p++) {
324 (int)(buf + len - host), host);
326 for (c = 0; c <= len; c++)
329 if (strnstr(buf, ip_whois[i], len) !=