/illumos-gate/usr/src/lib/cfgadm_plugins/ac/common/ |
H A D | mema_util.c | 58 char *ebuf; local 70 if ((ebuf = (char *)malloc(elen + 1)) == NULL) 74 (void) vsprintf(ebuf, fmt, ap); 77 if (strlen(ebuf) > elen) 80 *errstring = ebuf;
|
/illumos-gate/usr/src/lib/libresolv2/common/bsd/ |
H A D | strerror.c | 60 static char ebuf[40] = UPREFIX; /*%< 64-bit number + slop */ local 84 for (p = ebuf + sizeof(UPREFIX) - 1;;) { 89 return (ebuf);
|
/illumos-gate/usr/src/cmd/bnu/ |
H A D | unknown.c | 95 char ebuf[BUFSIZ+1]; local 99 (void) snprintf(ebuf, BUFSIZ, 103 sz = strlen(ebuf); 104 if (ebuf[sz-1] != '\n') { 105 ebuf[sz] = '\n'; 106 ebuf[sz+1] = '\0'; 115 || write(fds[1], ebuf, strlen(ebuf)) != strlen(ebuf)
|
/illumos-gate/usr/src/cmd/eqn/ |
H A D | io.c | 185 char ebuf[3]; local 190 (void) snprintf(ebuf, sizeof (ebuf), "%d", i); 191 error(FATAL, gettext("no eqn strings left"), ebuf);
|
/illumos-gate/usr/src/cmd/srchtxt/ |
H A D | srchtxt.c | 100 char ebuf[ESIZE]; local 144 if (compile(text, &ebuf[0], &ebuf[ESIZE]) == (char *)NULL) { 174 find_msgs(addr, ebuf); 195 find_msgs(addr, ebuf);
|
/illumos-gate/usr/src/cmd/sendmail/src/ |
H A D | envelope.c | 1020 char ebuf[MAXNAME * 2 + 2]; local 1029 (void) sm_snprintf(ebuf, sizeof(ebuf), 1032 p = ebuf;
|
H A D | domain.c | 1073 char ebuf[MAXLINE]; local 1075 (void) sm_snprintf(ebuf, 1076 sizeof(ebuf), 1081 CurEnv->e_rpool, ebuf);
|
/illumos-gate/usr/src/cmd/cmd-inet/usr.lib/pppoe/ |
H A D | common.c | 68 static char ebuf[64]; local 72 (void) snprintf(ebuf, sizeof (ebuf), "Error:%d", err); 73 return (ebuf);
|
/illumos-gate/usr/src/uts/common/io/ |
H A D | sysmsg.c | 290 char *ebuf = buf + fsize; local 294 while (buf < ebuf) {
|
/illumos-gate/usr/src/lib/libinetutil/common/ |
H A D | ofmt.c | 545 char ebuf[OFMT_BUFSIZE]; local 549 * ebuf is intended for optional error-specific data to be appended 552 ebuf[0] = '\0'; 575 /* set up the bad fields in ebuf */ 577 (void) strlcat(ebuf, " `", sizeof (ebuf)); 578 (void) strlcat(ebuf, os->os_badfields[i], 579 sizeof (ebuf)); 580 (void) strlcat(ebuf, "'", sizeof (ebuf)); [all...] |
/illumos-gate/usr/src/lib/libc/port/gen/ |
H A D | fmtmsg.c | 835 char *ebuf = buf + size - 2; local 961 while (--l1indent >= 0 && buf < ebuf) 965 buf += strlcpy(buf, lcllbl, ebuf - buf); 972 buf += strlcpy(buf, SEPSTR, ebuf - buf); 978 while (--l1indent >= 0 && buf < ebuf) 982 buf += strlcpy(buf, sevpstr, ebuf - buf); 989 buf += strlcpy(buf, SEPSTR, ebuf - buf); 995 for (c = *p++; c != NULL && buf < ebuf; c = *p++) { 998 for (i = 0; i < textindent && buf < ebuf; i++) 1009 if (dotext && buf < ebuf) { [all...] |
H A D | ttyname.c | 623 char *buf, *ebuf; local 670 ebuf = &dir_buf[size]; 671 *ebuf++ = '\n'; 672 for (sz = 1, buf = dir_buf; buf < ebuf; ++buf) 687 for (buf = dir_buf; buf < ebuf; ++buf) {
|
/illumos-gate/usr/src/uts/sun4v/io/ |
H A D | ds_drv.c | 448 char ebuf[DS_EBUFSIZE]; local 454 PORTID(port), __func__, ds_errno_to_str(rv, ebuf));
|
H A D | ds_common.c | 244 char ebuf[DS_EBUFSIZE]; local 253 PORTID(port), __func__, ds_errno_to_str(rv, ebuf)); 373 char ebuf[DS_EBUFSIZE]; local 388 ds_errno_to_str(rv, ebuf)); 395 DS_EOL, PORTID(port), __func__, ds_errno_to_str(rv, ebuf)); 407 char ebuf[DS_EBUFSIZE]; local 417 PORTID(port), __func__, ds_errno_to_str(rv, ebuf)); 423 DS_EOL, PORTID(port), __func__, ds_errno_to_str(rv, ebuf)); 429 PORTID(port), __func__, ds_errno_to_str(rv, ebuf)); 454 char ebuf[DS_EBUFSIZ local 3000 ds_errno_to_str(int ds_errno, char *ebuf) argument [all...] |
/illumos-gate/usr/src/cmd/logadm/ |
H A D | conf.c | 183 char *ebuf; local 186 ebuf = &buf[buflen]; 192 for (line = buf; line < ebuf; line = eline) { 201 for (; eline < ebuf; eline++) { 204 eline + 1 < ebuf && *(eline + 1) == '\n') { 223 if (comment >= ebuf) 225 if (eline >= ebuf) {
|
/illumos-gate/usr/src/lib/libipsecutil/common/ |
H A D | ipsec_util.c | 699 char *hptr, **thisargv, *ebuf; local 706 ebuf = NULL; 789 ebuf = calloc((IBUF_SIZE * 2), sizeof (char)); 790 if (ebuf == NULL) { 795 (void) snprintf(ebuf, (IBUF_SIZE * 2), 814 free(ebuf); 819 /* ebuf consumed */ 820 parseit(thisargc, thisargv, ebuf, readfile); 822 free(ebuf);
|
/illumos-gate/usr/src/cmd/cmd-inet/usr.sbin/ipsecutils/ |
H A D | ipseckey.c | 111 * Create/Grow a buffer large enough to hold error messages. If *ebuf 118 record_error(char *ep, char *ebuf, char *fmt, ...) argument 134 if (ebuf != NULL) 135 length += strlen(ebuf); 152 if (ep == NULL && ebuf != NULL) 153 (void) strlcpy(err_ptr, ebuf, length); 188 handle_errors(char *ep, char *ebuf, boolean_t fatal, boolean_t done) argument 202 if (ebuf != NULL) { 203 free(ebuf); 214 * is called, free(ebuf) an 317 parsenum(char *num, boolean_t bail, char *ebuf) argument 364 parsesatype(char *type, char *ebuf) argument 591 parsestate(char *state, char *ebuf) argument 625 parsealg(char *alg, int proto_num, char *ebuf) argument 690 parseidtype(char *type, char *ebuf) argument 740 parseaddr(char *addr, struct hostent **hpp, boolean_t v6only, char *ebuf) argument 822 parsekey(char *input, char *ebuf, uint_t reserved_bits) argument 1197 doaddresses(uint8_t sadb_msg_type, uint8_t sadb_msg_satype, int cmd, struct hostent *srchp, struct hostent *dsthp, struct sadb_address *src, struct sadb_address *dst, boolean_t unspec_src, uint64_t *buffer, int buffer_size, uint32_t spi, char *ebuf) argument 1642 doaddup(int cmd, int satype, char *argv[], char *ebuf) argument 2972 dodelget(int cmd, int satype, char *argv[], char *ebuf) argument 3419 parseit(int argc, char *argv[], char *ebuf, boolean_t read_cmdfile) argument [all...] |
/illumos-gate/usr/src/cmd/syslogd/ |
H A D | syslogd.c | 3415 char ebuf[SYS_NMLN+1+40]; local 3493 if (logforward(f, ebuf, sizeof (ebuf)) != 0) { 3494 logerror("line %d: %s", lineno, ebuf); 3689 char ebuf[128]; local 3696 (void) strcpy(ebuf, "Unable to configure syslog port"); 3699 size_t l = strlen(ebuf); 3700 (void) snprintf(ebuf + l, sizeof (ebuf) - l, 3705 mythreadno, ebuf); 3855 char ebuf[128]; local 3912 logforward(struct filed *f, char *ebuf, size_t elen) argument [all...] |
/illumos-gate/usr/src/cmd/dladm/ |
H A D | dladm.c | 7662 ether_fields_buf_t ebuf; local 7666 bzero(&ebuf, sizeof (ether_fields_buf_t)); 7668 ebuf.eth_link, sizeof (ebuf.eth_link)) != DLADM_STATUS_OK) { 7676 (void) strlcpy(ebuf.eth_ptype, "current", sizeof (ebuf.eth_ptype)); 7678 (void) dladm_ether_autoneg2str(ebuf.eth_autoneg, 7679 sizeof (ebuf.eth_autoneg), &eattr, CURRENT); 7680 (void) dladm_ether_pause2str(ebuf.eth_pause, 7681 sizeof (ebuf 8997 ether_fields_buf_t ebuf; local [all...] |