Lines Matching defs:linelen
157 int linelen;
160 linelen = 0;
161 while (linelen < buflen - 1) { /* "- 1" saves room for \n\0 */
163 if (linelen == 0 ||
164 buffer[linelen - 1] == '\\') {
167 buffer[linelen] = '\n';
168 buffer[linelen + 1] = '\0';
169 return (linelen);
175 if (linelen > 0 &&
176 buffer[linelen - 1] == '\\') {
177 --linelen; /* remove the '\\' */
179 buffer[linelen] = '\n';
180 buffer[linelen + 1] = '\0';
181 return (linelen);
185 buffer[linelen] = mapbuf[*lastlen];
187 linelen++;