Searched refs:lineptr (Results 1 – 5 of 5) sorted by relevance
/illumos-gate/usr/src/cmd/mail/ |
H A D | pickFrom.c | 32 void pickFrom (lineptr) in pickFrom() argument 33 register char *lineptr; in pickFrom() 39 if (*lineptr == '>') 40 lineptr++; 41 lineptr += 5; 42 for (p = fromU; *lineptr; lineptr++) { 43 if (isspace (*lineptr)) 45 *p++ = *lineptr; 49 while (*lineptr && strncmp (lineptr, rf, rfl)) 50 lineptr++; [all …]
|
H A D | mail.h | 326 extern void pickFrom(char *lineptr);
|
/illumos-gate/usr/src/lib/libc/port/stdio/ |
H A D | getline.c | 42 getdelim(char **_RESTRICT_KYWD lineptr, size_t *_RESTRICT_KYWD n, in getdelim() argument 51 if (lineptr == NULL || n == NULL || in getdelim() 57 if (*lineptr == NULL || *n < LINESZ) { /* initial allocation */ in getdelim() 58 if ((*lineptr = realloc(*lineptr, LINESZ)) == NULL) { in getdelim() 64 ptr = *lineptr; in getdelim() 78 if ((ptr = realloc(*lineptr, 2 * size)) == NULL) { in getdelim() 80 ptr = *lineptr + size - 1; in getdelim() 85 *lineptr = ptr; in getdelim() 102 getline(char **_RESTRICT_KYWD lineptr, size_t *_RESTRICT_KYWD n, in getline() argument 105 return (getdelim(lineptr, n, '\n', iop)); in getline()
|
/illumos-gate/usr/src/cmd/captoinfo/ |
H A D | captoinfo.c | 1402 char *lineptr = line; in getterm_name() local 1415 for (; *lineptr; lineptr++) in getterm_name() 1416 if (!isspace(*lineptr)) in getterm_name() 1418 if (*lineptr == '\0') in getterm_name() 1423 for (; *lineptr; lineptr++) in getterm_name() 1424 if (*lineptr == '|' || *lineptr == ':') { in getterm_name() 1425 *lineptr = '\0'; in getterm_name()
|
/illumos-gate/usr/src/lib/print/libhttp-core/common/ |
H A D | http.c | 1279 char *lineptr, /* Pointer into line */ in httpGets() local 1384 lineptr = line; in httpGets() 1401 *lineptr++ = *bufptr++; in httpGets() 1406 *lineptr = '\0'; in httpGets()
|