Home
last modified time | relevance | path

Searched refs:lineptr (Results 1 – 3 of 3) sorted by relevance

/ndk/sources/host-tools/sed-4.2.1/lib/
Dgetdelim.c57 getdelim (char **lineptr, size_t *n, int delimiter, FILE *fp) in getdelim() argument
62 if (lineptr == NULL || n == NULL || fp == NULL) in getdelim()
70 if (*lineptr == NULL || *n == 0) in getdelim()
74 new_lineptr = (char *) realloc (*lineptr, *n); in getdelim()
80 *lineptr = new_lineptr; in getdelim()
111 new_lineptr = (char *) realloc (*lineptr, needed); in getdelim()
118 *lineptr = new_lineptr; in getdelim()
122 (*lineptr)[cur_len] = i; in getdelim()
128 (*lineptr)[cur_len] = '\0'; in getdelim()
Dgetline.c28 getline (char **lineptr, size_t *n, FILE *stream) in getline() argument
30 return getdelim (lineptr, n, '\n', stream); in getline()
Dstdio.in.h489 extern ssize_t getdelim (char **lineptr, size_t *linesize, int delimiter,
512 extern ssize_t getline (char **lineptr, size_t *linesize, FILE *stream);