Searched refs:lineptr (Results 1 – 1 of 1) sorted by relevance
325 getdelim(char **lineptr, size_t *n, int delim, FILE *stream) in getdelim() argument332 if (*lineptr) { in getdelim()334 *lineptr = (char*)realloc(*lineptr, m); in getdelim()335 if (!*lineptr) return -1; in getdelim()339 *lineptr = (char*)malloc(m); in getdelim()340 if (!*lineptr) return -1; in getdelim()350 p = *lineptr + m; in getdelim()380 *lineptr = (char*)realloc(*lineptr, i); in getdelim()381 if (!*lineptr) return -1; in getdelim()