Searched refs:line_buf_size (Results 1 – 1 of 1) sorted by relevance
30 static int line_buf_size = 0; variable42 line_buf_size = LBUFINCR; in safe_fgets()46 line_ptr = line_buf + line_buf_size - 1; in safe_fgets()50 if (fgets (line_buf, line_buf_size, f) == 0) in safe_fgets()57 line_buf_size += LBUFINCR; in safe_fgets()58 line_buf = (char *) realloc (line_buf, line_buf_size); in safe_fgets()61 line_ptr = line_buf + line_buf_size - 1; in safe_fgets()65 if (fgets (line_buf + line_buf_size - LBUFINCR - 1, LBUFINCR + 1, f) == 0) in safe_fgets()