/osnet-11/usr/src/cmd/sendmail/libsm/ |
H A D | strerror.c | 52 static char buf[64]; local 58 (void) sm_snprintf(buf, sizeof(buf), "Error %d", err); 59 return buf;
|
H A D | errstring.c | 279 static char buf[30]; local 281 (void) sm_snprintf(buf, sizeof buf, "Error %d", errnum); 282 return buf;
|
H A D | t-strio.c | 23 char buf[20]; local 28 (void) memset(buf, '.', 20); 29 sm_strio_init(&f, buf, 10); 33 SM_TEST(strcmp(buf, r) == 0);
|
H A D | strexit.c | 35 static char buf[64]; local 40 (void) sm_snprintf(buf, sizeof buf, "Unknown exit status %d", 42 msg = buf;
|
/osnet-11/usr/src/lib/gss_mechs/mech_krb5/mech/ |
H A D | util_localhost.c | 48 char buf[MAXHOSTNAMELEN+1], *ptr; local 50 if (gethostname(buf, sizeof(buf)) < 0) 53 buf[sizeof(buf)-1] = '\0'; 55 return strdup(buf);
|
/osnet-11/usr/src/grub/grub2/grub-core/gnulib/ |
H A D | btowc.c | 31 char buf[1]; local 34 buf[0] = c; 35 if (mbtowc (&wc, buf, 1) >= 0)
|
/osnet-11/usr/src/cmd/sendmail/libsmutil/ |
H A D | snprintf.c | 41 static char buf[MAXSHORTSTR + 1]; 52 (void) sm_strlcpy(buf, s, m + 1); 53 return buf; 55 (void) sm_strlcpy(buf, s, m - 2); 56 (void) sm_strlcat(buf, "...", sizeof buf); 57 return buf; 60 (void) sm_strlcpy(buf, s, m + 1); 61 (void) sm_strlcat2(buf, "...", s + l - m, sizeof buf); 40 static char buf[MAXSHORTSTR + 1]; local [all...] |
/osnet-11/usr/src/lib/libast/common/stdio/ |
H A D | fmemopen.c | 27 fmemopen(void* buf, size_t size, const char* mode) argument 29 STDIO_PTR(0, "fmemopen", Sfio_t*, (void*, size_t, const char*), (buf, size, mode)) 31 return sfnew(NiL, buf, size, -1, SF_STRING|_sftype(mode, NiL, NiL));
|
H A D | _stdvbuf.c | 29 _stdsetvbuf(Sfio_t* f, char* buf, int type, size_t size) argument 31 return setvbuf(f, buf, type, size);
|
H A D | setvbuf.c | 27 setvbuf(Sfio_t* f, char* buf, int type, size_t size) argument 29 STDIO_INT(f, "setvbuf", int, (Sfio_t*, char*, int, size_t), (f, buf, type, size)) 45 sfsetbuf(f, (Void_t*)buf, size);
|
/osnet-11/usr/src/lib/libast/common/string/ |
H A D | fmtperm.c | 37 char* buf; local 39 s = buf = fmtbuf(32); 90 return buf;
|
H A D | fmtsignal.c | 37 char* buf; local 43 buf = sig_info.text[sig]; 46 buf = fmtbuf(z = 20); 47 sfsprintf(buf, z, "Signal %d", sig); 54 buf = sig_info.name[sig]; 57 buf = fmtbuf(z = 20); 58 sfsprintf(buf, z, "%d", sig); 61 return buf;
|
H A D | fmttime.c | 35 char* buf; local 38 buf = fmtbuf(z = 80); 39 tmfmt(buf, z, format, &clock); 40 return buf;
|
/osnet-11/usr/src/lib/libast/common/tm/ |
H A D | tmform.c | 37 * end of buf is returned 41 tmform(char* buf, const char* format, time_t* clock) argument 43 return tmfmt(buf, 256, format, clock);
|
H A D | tmfmt.c | 33 * format date given clock into buf of length len 38 tmfmt(char* buf, size_t len, const char* format, time_t* clock) argument 40 return tmxfmt(buf, len, format, tmxclock(clock));
|
/osnet-11/usr/src/lib/libast/common/vec/ |
H A D | vecstring.c | 40 register char* buf; local 43 if (!str || !*str || !(buf = strdup(str))) vec = 0; 44 else if (!(vec = vecload(buf))) free(buf);
|
/osnet-11/usr/src/lib/libc/port/sys/ |
H A D | acctctl.c | 34 acctctl(int cmd, void *buf, size_t bufsz) argument 36 return (syscall(SYS_acctctl, cmd, buf, bufsz));
|
H A D | ustat.c | 37 ustat(dev_t dev, struct ustat *buf) argument 39 if (utssys(buf, dev, UTS_USTAT) == -1)
|
/osnet-11/usr/src/lib/libtsnet/common/ |
H A D | tnmlp.c | 42 tnmlp(int cmd, tsol_mlpent_t *buf) argument 44 return (syscall(SYS_labelsys, TSOL_TNMLP, cmd, buf));
|
H A D | tnrh.c | 41 tnrh(int cmd, tsol_rhent_t *buf) argument 43 return (syscall(SYS_labelsys, TSOL_TNRH, cmd, buf));
|
H A D | tnrhtp.c | 42 tnrhtp(int cmd, tsol_tpent_t *buf) argument 44 return (syscall(SYS_labelsys, TSOL_TNRHTP, cmd, buf));
|
/osnet-11/usr/src/lib/libnsl/rpc/ |
H A D | rpc_callmsg.c | 53 rpc_inline_t *buf; local 61 buf = XDR_INLINE(xdrs, 8 * BYTES_PER_XDR_UNIT 65 if (buf != NULL) { 66 IXDR_PUT_INT32(buf, cmsg->rm_xid); 67 IXDR_PUT_ENUM(buf, cmsg->rm_direction); 70 IXDR_PUT_INT32(buf, cmsg->rm_call.cb_rpcvers); 73 IXDR_PUT_INT32(buf, cmsg->rm_call.cb_prog); 74 IXDR_PUT_INT32(buf, cmsg->rm_call.cb_vers); 75 IXDR_PUT_INT32(buf, cmsg->rm_call.cb_proc); 77 IXDR_PUT_ENUM(buf, o [all...] |
/osnet-11/usr/src/lib/libcurses/screen/ |
H A D | ungetwch.c | 46 char buf[CSMAX]; local 48 n = _curs_wctomb(buf, code & TRIM); 50 if (ungetch((unsigned char)buf[i]) == ERR) {
|
/osnet-11/usr/src/lib/libdll/common/ |
H A D | dlllook.c | 37 char buf[256]; local 39 if (!(addr = dlsym(dll, name)) && strlen(name) < (sizeof(buf) - 2)) 41 buf[0] = '_'; 42 strcpy(buf + 1, name); 43 addr = dlsym(dll, buf);
|
/osnet-11/usr/src/lib/libast/common/misc/ |
H A D | procrun.c | 44 char buf[PATH_MAX]; local 46 return pathpath(path, NiL, PATH_REGULAR|PATH_EXECUTE, buf, sizeof(buf)) ? 0 : -1;
|