Searched refs:chbuf (Results 1 - 4 of 4) sorted by relevance

/illumos-gate/usr/src/cmd/csh/
H A Dsh.tchar.c26 * Many functions defined here use a "char" buffer chbuf[]. In the
27 * first attempt, there used to be only one chbuf defined as static
31 * This bug seemed to be caused by sharing of chbuf
34 * have each of these function its private instance of chbuf.
35 * The size of chbuf[] might be much bigger than necessary for some functions.
367 char chbuf[MAXPATHLEN * MB_LEN_MAX]; /* General use buffer. */ local
369 tstostr(chbuf, name_);
370 fd = creat((char *)chbuf, mode);
384 char chbuf[MAXPATHLEN * MB_LEN_MAX]; /* General use buffer. */ local
387 tstostr(chbuf, path
402 char chbuf[MAXPATHLEN * MB_LEN_MAX]; /* General use buffer. */ local
422 unsigned char chbuf[BUFSIZ * MB_LEN_MAX]; /* General use buffer. */ local
679 unsigned char chbuf[BUFSIZ*MB_LEN_MAX]; /* General use buffer. */ local
729 #undef chbuf macro
740 char chbuf[MAXPATHLEN * MB_LEN_MAX]; /* General use buffer. */ local
749 char chbuf[MAXPATHLEN * MB_LEN_MAX]; /* General use buffer. */ local
758 char chbuf[MAXPATHLEN * MB_LEN_MAX]; /* General use buffer. */ local
767 char chbuf[MAXPATHLEN * MB_LEN_MAX]; /* General use buffer. */ local
781 char chbuf[MAXPATHLEN * MB_LEN_MAX]; /* General use buffer. */ local
790 char chbuf[MAXPATHLEN * MB_LEN_MAX]; /* General use buffer. */ local
816 char chbuf[BUFSIZ * MB_LEN_MAX]; /* General use buffer. */ local
831 char chbuf[MAXPATHLEN * MB_LEN_MAX]; /* General use buffer. */ local
853 char chbuf[BUFSIZ * MB_LEN_MAX]; /* General use buffer. */ local
868 char chbuf[BUFSIZ * MB_LEN_MAX]; /* General use buffer. */ local
[all...]
H A Dsh.err.c122 char chbuf[BUFSIZ]; local
134 tstostr(chbuf, s);
135 perror(chbuf);
166 char chbuf[BUFSIZ]; local
173 tstostr(chbuf, cp);
175 err = (char *)xalloc(strlen(chbuf)+strlen(gdp)+1);
176 strcpy(err, chbuf);
186 char chbuf[MB_LEN_MAX+1]; local
197 i = wctomb(chbuf, wcd); /* chbuf hold
[all...]
/illumos-gate/usr/src/cmd/cmd-inet/usr.sbin/snoop/
H A Dsnoop_icmp.c797 char *buf, chbuf[128]; local
804 buf = chbuf;
822 snprintf(buf, sizeof (chbuf) - (buf - chbuf),
825 if (buf >= &chbuf[sizeof (chbuf)]) {
827 chbuf[sizeof (chbuf) -
829 (void) strlcat(chbuf, "<Too Long>",
830 sizeof (chbuf));
[all...]
/illumos-gate/usr/src/lib/fm/topo/modules/sun4v/sun4vpi/
H A Dpi_subr.c497 unsigned char *chbuf; local
521 if (di_prop_bytes(di_prop, &chbuf) < sizeof (uint_t)) {
524 bcopy(chbuf, &lun, sizeof (uint_t));
767 unsigned char *chbuf; local
792 if (di_prop_bytes(di_prop, &chbuf) < sizeof (uint_t)) {
795 bcopy(chbuf, &phy, sizeof (uint_t));

Completed in 62 milliseconds