Home
last modified time | relevance | path

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

/titanic_41/usr/src/cmd/mail/
H A DpickFrom.c34 void pickFrom (lineptr) in pickFrom() argument
35 register char *lineptr; in pickFrom()
41 if (*lineptr == '>')
42 lineptr++;
43 lineptr += 5;
44 for (p = fromU; *lineptr; lineptr++) {
45 if (isspace (*lineptr))
47 *p++ = *lineptr;
51 while (*lineptr && strncmp (lineptr, rf, rfl))
52 lineptr++;
[all …]
H A Dmail.h326 extern void pickFrom(char *lineptr);
/titanic_41/usr/src/lib/libc/port/stdio/
H A Dgetline.c42 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()
/titanic_41/usr/src/cmd/captoinfo/
H A Dcaptoinfo.c1404 char *lineptr = line; in getterm_name() local
1417 for (; *lineptr; lineptr++) in getterm_name()
1418 if (!isspace(*lineptr)) in getterm_name()
1420 if (*lineptr == '\0') in getterm_name()
1425 for (; *lineptr; lineptr++) in getterm_name()
1426 if (*lineptr == '|' || *lineptr == ':') { in getterm_name()
1427 *lineptr = '\0'; in getterm_name()
/titanic_41/usr/src/lib/print/libhttp-core/common/
H A Dhttp.c1281 char *lineptr, /* Pointer into line */ in httpGets() local
1386 lineptr = line; in httpGets()
1403 *lineptr++ = *bufptr++; in httpGets()
1408 *lineptr = '\0'; in httpGets()