Home
last modified time | relevance | path

Searched refs:wline (Results 1 – 2 of 2) sorted by relevance

/titanic_41/usr/src/cmd/mail/
H A Dgethead.c70 char *wline; in gethead() local
82 wline = wlineval; in gethead()
117 if (fgets(wline, MAXHDRSIZE, file) == NULL) { in gethead()
122 if ((rc = strncmp(wline, header[H_FROM].tag, 5)) != SAME) { in gethead()
129 for (rc = 5; wline[rc] == ' ' || wline[rc] == '\t'; ++rc) in gethead()
131 (void) strlcpy(hold, wline + rc, MAXHDRSIZE); in gethead()
132 fgets(wline, MAXHDRSIZE, file); in gethead()
134 while (((rc = strncmp(wline, in gethead()
136 (substr(wline, "remote from ") != -1)) { in gethead()
137 (void) strlcpy(hold, wline + 6, MAXHDRSIZE); in gethead()
[all …]
/titanic_41/usr/src/cmd/valtools/
H A Dckitem.c134 wchar_t wline[LSIZE], wtemp[LSIZE]; in main() local
263 while (fgetws(wline, LSIZE, fp)) { in main()
268 if (*wline == L'#') in main()
270 n = wcslen(wline); in main()
271 if ((n != 0) && (wline[n - 1] == L'\n')) in main()
272 wline[n - 1] = L'\0'; in main()
277 if (iswspace(*wline)) { in main()
279 (void) wcscat(wtemp, wline); in main()
296 (void) wcscpy(wtemp, wline); in main()