/freebsd-9.3-release/usr.sbin/sysinstall/ |
H A D | package.c | 112 snprintf(fname, FILENAME_MAX, "/var/db/pkg/%s", name); 156 pathend = snprintf(path, sizeof path, "packages/Latest/%s", name); 158 pathend = snprintf(path, sizeof path, "packages/All/%s", name); 161 pathend = snprintf(path, sizeof path, "%s", name);
|
/freebsd-9.3-release/contrib/ntp/sntp/libopts/compat/ |
H A D | windows-config.h | 46 #define snprintf _snprintf macro
|
H A D | snprintf.c | 3 #include "choke-me: no vprintf and no snprintf" 29 snprintf(char *str, size_t n, char const *fmt, ...) function 48 fprintf(stderr, "snprintf buffer overrun %d > %d\n", rval, (int)n);
|
/freebsd-9.3-release/contrib/ntp/libntp/ |
H A D | timetoa.c | 102 snprintf(cp, LIB_BUFLENGTH, "%s%" UTIME_FORMAT ".%0*ld",
|
/freebsd-9.3-release/contrib/ntp/sntp/tests/ |
H A D | fileHandlingTest.c | 24 retc = snprintf(path, plen, "%s%s", srcdir, filename);
|
/freebsd-9.3-release/cddl/contrib/opensolaris/lib/libdtrace/common/ |
H A D | dt_dis.c | 265 (void) snprintf(kind, sizeof (kind), "0x%x", t->dtdt_kind); 312 (void) snprintf(ckind, sizeof (ckind), "0x%x", t->dtdt_ckind); 316 (void) snprintf(buf, len, "%s (%s) by ref (size %lu)", 319 (void) snprintf(buf, len, "%s (%s) (size %lu)", 471 (void) snprintf(kind, sizeof (kind), 486 (void) snprintf(scope, sizeof (scope), 491 (void) snprintf(flags, sizeof (flags), "/0x%x",
|
/freebsd-9.3-release/contrib/ofed/management/infiniband-diags/src/ |
H A D | ibroute.c | 111 n += snprintf(str + n, strlen - n, "%04hx", mask); 249 return snprintf(str, strlen, ": (path #%d - illegal port)", 252 return snprintf(str, strlen, 257 return snprintf(str, strlen, 266 return snprintf(str, strlen, ": (illegal port)"); 274 return snprintf(str, strlen, ": (unknown node and type)"); 287 return snprintf(str, strlen, ": (%s portguid %s: %s)",
|
/freebsd-9.3-release/crypto/heimdal/kadmin/ |
H A D | get.c | 209 snprintf(buf, buf_len, "%d", princ->kvno); 212 snprintf(buf, buf_len, "%d", princ->mkvno); 221 snprintf(buf, buf_len, "%d", princ->fail_auth_count); 258 snprintf(buf, buf_len, "\"%.*s\"", 272 snprintf(buf, buf_len, "failed to decode ACL"); 304 snprintf(buf, buf_len, "failed to decode alias"); 322 snprintf(buf, buf_len, "unknown type %d", subfield);
|
/freebsd-9.3-release/usr.sbin/cron/crontab/ |
H A D | crontab.c | 264 (void) snprintf(n, sizeof(n), CRON_TAB(User)); 294 (void) snprintf(n, sizeof(n), CRON_TAB(User)); 328 (void) snprintf(n, sizeof(n), CRON_TAB(User)); 338 (void) snprintf(Filename, sizeof(Filename), "/tmp/crontab.XXXXXXXXXX"); 513 (void) snprintf(n, sizeof(n), "tmp.%d", Pid); 514 (void) snprintf(tn, sizeof(tn), CRON_TAB(n)); 602 (void) snprintf(n, sizeof(n), CRON_TAB(User));
|
/freebsd-9.3-release/usr.sbin/mfiutil/ |
H A D | mfi_drive.c | 71 snprintf(buf, sizeof(buf), "MISSING"); 73 snprintf(buf, sizeof(buf), "%2u", device_id); 96 error = snprintf(p, len, "MISSING"); 98 error = snprintf(p, len, "%2u", device_id); 113 error = snprintf(p, len, "S%u", 116 error = snprintf(p, len, "E%u", 119 error = snprintf(p, len, "E%u:S%u", 358 snprintf(inq_string, sizeof(inq_string), "<%s %s serial=%s> SATA", 371 snprintf(rstr, sizeof (rstr), "SCSI-%d", 375 snprintf(inq_strin [all...] |
/freebsd-9.3-release/usr.sbin/ppp/ |
H A D | netgraph.c | 558 snprintf(modname, sizeof modname, "ng_%s", nodetype); 564 snprintf(path, sizeof path, "%s:", nodename); 624 snprintf(modname, sizeof modname, "ng_%s", nodetype); 631 snprintf(mkp.type, sizeof mkp.type, "%s", nodetype); 632 snprintf(mkp.ourhook, sizeof mkp.ourhook, "%s", lasthook); 633 snprintf(mkp.peerhook, sizeof mkp.peerhook, "%s", hook); 646 snprintf(path + len, sizeof path - len, "%s%s", 691 snprintf(dev->hook, sizeof dev->hook, "%s", lasthook); 694 snprintf(ngc.path, sizeof ngc.path, "%s", path); 695 snprintf(ng [all...] |
/freebsd-9.3-release/contrib/libpcap/ |
H A D | pcap-canusb-linux.c | 128 snprintf(dev_name, 30, CANUSB_IFACE"%s", sernum); 129 snprintf(dev_descr, 50, "CanUSB [%s]", sernum); 367 snprintf(handle->errbuf, PCAP_ERRBUF_SIZE, "Can't open USB Device:"); 426 snprintf(handle->errbuf, PCAP_ERRBUF_SIZE, "inject not supported on canusb devices"); 456 snprintf(p->errbuf, sizeof(p->errbuf),
|
/freebsd-9.3-release/contrib/netcat/ |
H A D | socks.c | 118 snprintf(prompt, sizeof(prompt), "Proxy password for %s@%s: ", 275 r = snprintf(buf, sizeof(buf), 279 r = snprintf(buf, sizeof(buf), 295 r = snprintf(buf, sizeof(buf), "%s:%s", 301 r = snprintf(buf, sizeof(buf), "Proxy-Authorization: "
|
/freebsd-9.3-release/contrib/tcpdump/ |
H A D | util.c | 150 (void)snprintf(buf, sizeof(buf), "%02d:%02d:%02d.%06u", 297 (void)snprintf(buf, bufsize, fmt, v); 341 buflen+=snprintf(buf+buflen, sizeof(buf)-buflen, "%s%s", 364 (void)snprintf(buf, sizeof(buf), fmt, v); 407 (void)snprintf(buf, sizeof(buf), fmt, v);
|
/freebsd-9.3-release/lib/libc/iconv/ |
H A D | citrus_csmapper.c | 134 snprintf(buf, sizeof(buf), "%.*s", 203 snprintf(pa->dst, sizeof(pa->dst), 205 snprintf(buf, sizeof(buf), 305 snprintf(buf, sizeof(buf), "%s/%s,%s/%s", src, pivot, pivot, dst); 363 snprintf(key, sizeof(key), "%s/%s", realsrc, realdst);
|
/freebsd-9.3-release/lib/libc/net/ |
H A D | getnameinfo.c | 172 snprintf(numserv, sizeof(numserv), "%u", ntohs(port)); 351 n = snprintf(buf, bufsiz, "%u", sa6->sin6_scope_id); 369 n = snprintf(buf, bufsiz, "%u", sa6->sin6_scope_id); 396 n = snprintf(host, hostlen, "link#%d", sdl->sdl_index); 454 n = snprintf(outp, hostlen, "%s%02x",
|
/freebsd-9.3-release/usr.bin/finger/ |
H A D | lprint.c | 135 (void)snprintf(tbuf, sizeof(tbuf), "%s: %s, %s", 140 (void)snprintf(tbuf, sizeof(tbuf), "%s: %s", 145 (void)snprintf(tbuf, sizeof(tbuf), "%s: %s", 151 (void)snprintf(tbuf, sizeof(tbuf), "%s: %s", "Home Phone", 303 (void)snprintf(tbuf, sizeof(tbuf), "%s/%s", directory, file_name);
|
/freebsd-9.3-release/usr.sbin/ndiscvt/ |
H A D | ndiscvt.c | 188 snprintf(sysbuf, sizeof(sysbuf), 207 snprintf(sysbuf, sizeof(sysbuf), 227 snprintf(sysbuf, sizeof(sysbuf), 253 snprintf(sysbuf, sizeof(sysbuf), 263 snprintf(sysbuf, sizeof(sysbuf),
|
/freebsd-9.3-release/usr.bin/stat/ |
H A D | stat.c | 433 snprintf(num, sizeof(num), "%d", fn); 692 snprintf(sid, sizeof(sid), "(%ld)", (long)st->st_uid); 706 snprintf(sid, sizeof(sid), "(%ld)", (long)st->st_gid); 799 snprintf(path, sizeof(path), " -> "); 816 snprintf(path, sizeof(path), " -> "); 907 return (snprintf(buf, blen, "%.*s,%.*s", 956 (void)snprintf(tmp, sizeof(tmp), "%d", size); 960 return (snprintf(buf, blen, lfmt, 981 (void)snprintf(tmp, sizeof(tmp), "%d", size); 999 (void)snprintf(tm [all...] |
/freebsd-9.3-release/crypto/openssh/ |
H A D | clientloop.c | 341 snprintf(xdisplay, sizeof(xdisplay), "unix:%s", 351 snprintf(xauthfile, MAXPATHLEN, "%s/xauthfile", 353 snprintf(cmd, sizeof(cmd), 376 snprintf(cmd, sizeof(cmd), 418 snprintf(data + 2 * i, sizeof data - 2 * i, "%02x", 673 snprintf(buf, sizeof buf, "select: %s\r\n", strerror(errno)); 740 snprintf(buf, sizeof buf, 760 snprintf(buf, sizeof buf, 796 snprintf(errmsg, sizeof(errmsg), 799 snprintf(errms [all...] |
/freebsd-9.3-release/bin/ls/ |
H A D | ls.c | 722 (void)snprintf(nuser, sizeof(nuser), 724 (void)snprintf(ngroup, sizeof(ngroup), 764 snprintf(name, sizeof(name), 767 snprintf(name, sizeof(name), 815 sizelen = snprintf(NULL, 0, 852 d.s_block = snprintf(NULL, 0, "%lu", howmany(maxblock, blocksize)); 856 d.s_inode = snprintf(NULL, 0, "%ju", maxinode); 857 d.s_nlink = snprintf(NULL, 0, "%lu", maxnlink); 859 snprintf(NULL, 0, "%ju", maxsize);
|
/freebsd-9.3-release/bin/rcp/ |
H A D | rcp.c | 192 (void)snprintf(cmd, sizeof(cmd), "rcp%s%s%s", 302 (void)snprintf(bp, len, "exec %s%s%s %s %s", _PATH_CP, 329 (void)snprintf(bp, len, "%s -f %s", cmd, src); 391 (void)snprintf(buf, sizeof(buf), "T%ld 0 %ld 0\n", 399 (void)snprintf(buf, sizeof(buf), "C%04o %jd %s\n", 455 (void)snprintf(path, sizeof(path), "T%ld 0 %ld 0\n", 464 (void)snprintf(path, sizeof(path), 480 (void)snprintf(path, sizeof(path), "%s/%s", name, dp->d_name); 605 (void)snprintf(path, sizeof(path), "%s%s%s", targ,
|
/freebsd-9.3-release/sys/dev/mpt/ |
H A D | mpt_debug.c | 221 snprintf(buf, sizeof buf, "Unknown (0x%08x)", code); 233 ptr += snprintf(buf, sizeof buf, "(0x%08x)", code); 236 ptr += snprintf(ptr, (size_t)(end-ptr), "%s ", 253 snprintf(buf, sizeof buf, "Unknown (0x%08x)", code); 267 snprintf(buf, sizeof buf, "Unknown (0x%08x)", code); 279 ptr += snprintf(buf, sizeof buf, "(0x%08x)", code); 282 ptr += snprintf(ptr, (size_t)(end-ptr), "%s ", 299 snprintf(buf, sizeof buf, "Unknown (0x%08x)", code); 345 snprintf(buf, sizeof buf, "Unknown (0x%08x)", code);
|
/freebsd-9.3-release/usr.bin/msgs/ |
H A D | msgs.c | 244 snprintf(fname, sizeof(fname), "%s/%s", _PATH_MSGS, BOUNDS); 296 snprintf(inbuf, sizeof(inbuf), "%s/%s", _PATH_MSGS, cp); 348 snprintf(fname, sizeof(fname), "%s/%d", _PATH_MSGS, nextmsg); 407 snprintf(fname, sizeof(fname), "%s/%s", cp, MSGSRC); 471 snprintf(fname, sizeof(fname), "%s/%d", _PATH_MSGS, msg); 643 snprintf(cmdbuf, sizeof(cmdbuf), _PATH_PAGER, Lpp); 645 snprintf(cmdbuf, sizeof(cmdbuf), "%s", env_pager); 766 snprintf(fname, sizeof(fname), "%s/%d", _PATH_MSGS, cmsg); 793 snprintf(cmdbuf, sizeof(cmdbuf), _PATH_MAIL,
|
/freebsd-9.3-release/cddl/contrib/opensolaris/lib/libzfs/common/ |
H A D | libzfs_diff.c | 110 (void) snprintf(di->errbuf, sizeof (di->errbuf), 116 (void) snprintf(di->errbuf, sizeof (di->errbuf), 410 (void) snprintf(di->errbuf, sizeof (di->errbuf), 479 (void) snprintf(di->errbuf, sizeof (di->errbuf), 498 (void) snprintf(di->errbuf, sizeof (di->errbuf), 516 (void) snprintf(zc.zc_value, sizeof (zc.zc_value), 524 (void) snprintf(di->errbuf, sizeof (di->errbuf), 530 (void) snprintf(di->errbuf, sizeof (di->errbuf), 575 (void) snprintf(di->errbuf, sizeof (di->errbuf), 597 (void) snprintf(d [all...] |