Home
last modified time | relevance | path

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

/illumos-gate/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 …]
/illumos-gate/usr/src/cmd/valtools/
H A Dckitem.c136 wchar_t wline[LSIZE], wtemp[LSIZE]; in main() local
265 while (fgetws(wline, LSIZE, fp)) { in main()
270 if (*wline == L'#') in main()
272 n = wcslen(wline); in main()
273 if ((n != 0) && (wline[n - 1] == L'\n')) in main()
274 wline[n - 1] = L'\0'; in main()
279 if (iswspace(*wline)) { in main()
281 (void) wcscat(wtemp, wline); in main()
298 (void) wcscpy(wtemp, wline); in main()