Searched refs:lineptr (Results 1 – 3 of 3) sorted by relevance
93 static char *lineptr; variable101 lineptr = line; in xmon_getchar()107 *lineptr++ = '\n'; in xmon_getchar()114 if (lineptr > line) { in xmon_getchar()118 --lineptr; in xmon_getchar()122 while (lineptr > line) { in xmon_getchar()126 --lineptr; in xmon_getchar()134 *lineptr++ = c; in xmon_getchar()138 lineleft = lineptr - line; in xmon_getchar()139 lineptr = line; in xmon_getchar()[all …]
3627 static char *lineptr; variable3632 lineptr = NULL; in flush_input()3638 if (lineptr == NULL || *lineptr == 0) { in inchar()3640 lineptr = NULL; in inchar()3643 lineptr = line; in inchar()3645 return *lineptr++; in inchar()3651 lineptr = str; in take_input()
290 static int add_byte(int c, char **lineptr, size_t slen, size_t *n) in add_byte() argument297 nline = xrealloc(*lineptr, new_size); in add_byte()301 *lineptr = nline; in add_byte()305 (*lineptr)[slen] = c; in add_byte()310 static ssize_t compat_getline(char **lineptr, size_t *n, FILE *stream) in compat_getline() argument312 char *line = *lineptr; in compat_getline()327 *lineptr = line; in compat_getline()340 *lineptr = line; in compat_getline()
Completed in 11 milliseconds