Searched defs:fmtbuf (Results 1 - 9 of 9) sorted by relevance

/illumos-gate/usr/src/lib/libast/common/string/
H A Dfmtbuf.c41 fmtbuf(size_t n) function
H A Dstrerror.c61 #define fmtbuf(n) ((n),tmp) macro
102 msg = strcpy(fmtbuf(strlen(msg) + 1), msg);
113 t = fmtbuf(z = strlen(s) + 1);
131 msg = fmtbuf(z = 32);
H A Dfmtip6.c37 fmtbuf(int n) function
93 s = b = fmtbuf(44);
/illumos-gate/usr/src/lib/libcryptoutil/common/
H A Ddebug.c45 char fmtbuf[BUFSIZ]; local
55 (void) snprintf(fmtbuf, sizeof (fmtbuf), "%s: %s",
57 (void) vsnprintf(msgbuf, sizeof (msgbuf), fmtbuf, args);
86 char fmtbuf[BUFSIZ]; local
97 (void) snprintf(fmtbuf, sizeof (fmtbuf), "%s: %s",
99 (void) vsnprintf(msgbuf, sizeof (msgbuf), fmtbuf, args);
/illumos-gate/usr/src/cmd/krb5/kadmin/ktutil/
H A Dktutil.c302 char fmtbuf[18]; local
311 fmtbuf,
312 sizeof(fmtbuf),
314 printf("%s ", fmtbuf);
/illumos-gate/usr/src/cmd/date/
H A Ddate.c93 char fmtbuf[BUFSIZ]; local
202 fmt_extensions(fmtbuf, sizeof (fmtbuf), fmt, &ts);
211 (void) strftime(buf, BUFSIZ, fmtbuf, &tm);
410 fmt_extensions(char *fmtbuf, size_t len, argument
416 for (p = fmt, q = fmtbuf; *p != '\0' && q < fmtbuf + len; ++p) {
421 q += snprintf(q, len - (q - fmtbuf),
429 if (q < fmtbuf + len)
432 fmtbuf[le
[all...]
/illumos-gate/usr/src/cmd/awk_xpg4/
H A Dawk2.c693 char fmtbuf[40]; local
729 ofmtp = fmtbuf;
751 length += fprintf(fp, fmtbuf, c);
757 adjust_buf(cp, &cplen, &bptr, fmtbuf, 0);
764 (void) wsprintf(bptr, (const char *) fmtbuf, c);
776 length += fprintf(fp, fmtbuf,
781 adjust_buf(cp, &cplen, &bptr, fmtbuf,
783 (void) wsprintf(bptr, (const char *) fmtbuf,
804 length += fprintf(fp, fmtbuf,
807 adjust_buf(cp, &cplen, &bptr, fmtbuf,
[all...]
/illumos-gate/usr/src/lib/efcode/engine/
H A Denv.c513 * fmtbuf - ponter to caller's receptacle buffer
514 * bsize - size of caller's fmtbuf buffer
527 fmt_str(fcode_env_t *env, char *fmt, char *fmtbuf, int bsize) argument
535 *fmtbuf = 0;
564 strncpy(fmtbuf, tbuf, bsize);
603 (void) snprintf(fmtbuf, bsize, tbuf, arg);
606 (void) snprintf(fmtbuf, bsize, tbuf);
616 (void) snprintf(fmtbuf, bsize, tbuf, llarg);
619 strncpy(fmtbuf, fmt, bsize);
/illumos-gate/usr/src/cmd/sendmail/src/
H A Dsrvrsmtp.c4559 char fmtbuf[30]; local
4563 (void) sm_strlcpy(fmtbuf, "252", sizeof(fmtbuf));
4565 (void) sm_strlcpy(fmtbuf, "250", sizeof(fmtbuf));
4566 fmtbuf[3] = last ? ' ' : '-';
4567 (void) sm_strlcpy(&fmtbuf[4], "2.1.5 ", sizeof(fmtbuf) - 4);
4574 (void) sm_strlcpy(&fmtbuf[OFFF], "<%s@%s>",
4575 sizeof(fmtbuf)
[all...]

Completed in 78 milliseconds