Searched refs:chbuf (Results 1 – 4 of 4) sorted by relevance
| /illumos-gate/usr/src/cmd/csh/ |
| H A D | sh.tchar.c | 366 char chbuf[MAXPATHLEN * MB_LEN_MAX]; /* General use buffer. */ in creat_() local 368 tstostr(chbuf, name_); in creat_() 369 fd = creat((char *)chbuf, mode); in creat_() 383 char chbuf[MAXPATHLEN * MB_LEN_MAX]; /* General use buffer. */ local 386 tstostr(chbuf, path_); 387 fd = open((char *)chbuf, flags, mode); 401 char chbuf[MAXPATHLEN * MB_LEN_MAX]; /* General use buffer. */ in mkstemp_() local 403 tstostr(chbuf, name_); in mkstemp_() 404 fd = mkstemp((char *)chbuf); in mkstemp_() 407 strtots(name_, chbuf); in mkstemp_() [all …]
|
| H A D | sh.err.c | 126 char chbuf[BUFSIZ]; in Perror() local 138 tstostr(chbuf, s); in Perror() 139 perror(chbuf); in Perror() 170 char chbuf[BUFSIZ]; in seterr2() local 177 tstostr(chbuf, cp); in seterr2() 179 err_msg = (char *)xalloc(strlen(chbuf)+strlen(gdp)+1); in seterr2() 180 strcpy(err_msg, chbuf); in seterr2() 190 char chbuf[MB_LEN_MAX+1]; in seterrc() local 201 i = wctomb(chbuf, wcd); /* chbuf holds d in multibyte representation. */ in seterrc() 202 chbuf[(i>0)?i:0] = (char) 0; in seterrc() [all …]
|
| H A D | sh.func.c | 1361 char chbuf[BUFSIZ * MB_LEN_MAX]; in getval() local 1367 tstostr(chbuf, cp); in getval() 1369 value = strtoull(chbuf, NULL, 0); in getval() 1400 tstostr(chbuf, cp + 1); in getval() 1401 tmp = strtoull(chbuf, NULL, 0); in getval()
|
| /illumos-gate/usr/src/cmd/cmd-inet/usr.sbin/snoop/ |
| H A D | snoop_icmp.c | 811 char *buf, chbuf[128]; in interpret_options() local 818 buf = chbuf; in interpret_options() 836 snprintf(buf, sizeof (chbuf) - (buf - chbuf), in interpret_options() 839 if (buf >= &chbuf[sizeof (chbuf)]) { in interpret_options() 841 chbuf[sizeof (chbuf) - in interpret_options() 843 (void) strlcat(chbuf, "<Too Long>", in interpret_options() 844 sizeof (chbuf)); in interpret_options() 851 "Link Layer address: %s", chbuf); in interpret_options()
|