Lines Matching defs:linebuf
192 int getfileline(void *vp, char *linebuf, int linebuf_size)
209 linebuf[0] = '\0';
211 fgets(linebuf, linebuf_size, fp);
221 linebuf_len = strlen(linebuf);
223 linebuf[0] = '\0';
227 if (linebuf[linebuf_len - 1] != '\n') {
236 linebuf[linebuf_len - 1] = '\0';
240 DEBUG(100, ("getfileline: got line |%s|\n", linebuf));
242 if ((linebuf[0] == 0) && feof(fp)) {
247 if (linebuf[0] == '#' || linebuf[0] == '\0') {
252 p = (unsigned char *) strchr_m(linebuf, ':');