Lines Matching defs:linelen
61 int linelen;
66 for (linelen = 0; linelen < buflen; ) {
72 if (linelen > 0 && buffer[linelen - 1] == '\\') {
74 --linelen;
77 buffer[linelen] = '\0';
78 return (linelen);
82 buffer[linelen++] = c;
86 if (linelen >= buflen) {
90 } else if (linelen > 0 && buffer[linelen - 1] == '\\') {
96 buffer[linelen] = '\0';
98 return (linelen > 0 ? linelen : -1);
111 int linelen;
133 if ((linelen = read_line(fp, buffer, sizeof (buffer),
138 if (linelen == 0)
225 if (linelen == -2) {