Searched refs:line_buf (Results 1 – 5 of 5) sorted by relevance
29 static char * line_buf = NULL; variable39 if (line_buf == NULL) in safe_fgets()41 line_buf = (char *) malloc (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()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()69 return line_buf; in safe_fgets()
405 char *line_buf; member
2330 if (adata (abfd).line_buf != NULL) in NAME()2331 free (adata (abfd).line_buf); in NAME()2333 adata (abfd).line_buf = buf = NULL; in NAME()2337 adata (abfd).line_buf = buf; in NAME()
2791 if (adata (abfd).line_buf != NULL) in NAME()2792 free (adata (abfd).line_buf); in NAME()2795 adata (abfd).line_buf = buf = NULL; in NAME()2799 adata (abfd).line_buf = buf; in NAME()
1656 * libaout.h (struct aoutdata): Add line_buf field.1659 new line_buf field. Remove length restrictions.