Home
last modified time | relevance | path

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

/illumos-gate/usr/src/cmd/mailx/
H A Dtty.c57 static char canonb[LINESIZE]; /* canonical buffer for input */ variable
195 for (cp=canonb; *cp2; cp++, cp2++) in readtty()
198 outstr(canonb); in readtty()
211 cp = canonb; in readtty()
226 if (cp > canonb) in readtty()
234 if (cp > canonb && cp[-1]=='\\') { in readtty()
237 } else while (cp > canonb) { in readtty()
241 if (cp > canonb) in readtty()
246 while (--cp >= canonb) in readtty()
251 while (cp >= canonb) in readtty()
[all …]
/illumos-gate/usr/src/cmd/fmt/
H A Dfmt.c167 wchar_t linebuf[BUFSIZ], canonb[BUFSIZ]; in fmt() local
209 cp2 = canonb; in fmt()
213 if (cp2-canonb < BUFSIZ-1) in fmt()
218 if (cp2-canonb < BUFSIZ-1) in fmt()
228 for (cp2--; cp2 >= canonb && *cp2 == L' '; cp2--) { in fmt()
235 prefix(canonb); in fmt()
240 for (cp = canonb; *cp == L' '; cp++) { in fmt()
252 fill_hdrbuf(canonb); in fmt()
255 prefix(canonb); in fmt()
260 if (canonb[0] == L'\0') { in fmt()
[all …]