Searched refs:lineptr (Results 1 – 3 of 3) sorted by relevance
/ndk/sources/host-tools/sed-4.2.1/lib/ |
D | getdelim.c | 57 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()
|
D | getline.c | 28 getline (char **lineptr, size_t *n, FILE *stream) in getline() argument 30 return getdelim (lineptr, n, '\n', stream); in getline()
|
D | stdio.in.h | 489 extern ssize_t getdelim (char **lineptr, size_t *linesize, int delimiter, 512 extern ssize_t getline (char **lineptr, size_t *linesize, FILE *stream);
|