MCPcopy Create free account
hub / github.com/F-Stack/f-stack / snprintf

Function snprintf

freebsd/kern/subr_prf.c:542–552  ·  view source on GitHub ↗

* Scaled down version of snprintf(3). */

Source from the content-addressed store, hash-verified

540 * Scaled down version of snprintf(3).
541 */
542int
543snprintf(char *str, size_t size, const char *format, ...)
544{
545 int retval;
546 va_list ap;
547
548 va_start(ap, format);
549 retval = vsnprintf(str, size, format, ap);
550 va_end(ap);
551 return(retval);
552}
553
554/*
555 * Scaled down version of vsnprintf(3).

Callers 15

parseFunction · 0.85
S_pagesizesFunction · 0.85
ff_ipc_sendFunction · 0.85
ff_ipc_recvFunction · 0.85
dumpFunction · 0.85
ether_strFunction · 0.85
sec2strFunction · 0.85
pidfile_openFunction · 0.85
pidfile_writeFunction · 0.85
hasquotaFunction · 0.85
quota_convertFunction · 0.85
gr_initFunction · 0.85

Calls 1

vsnprintfFunction · 0.85

Tested by 15

test_pidfile_relativeFunction · 0.68
str_scaleFunction · 0.68
fatalFunction · 0.68
process_optionsFunction · 0.68
make_vdev_fileFunction · 0.68
ztest_od_initFunction · 0.68
ztest_vdev_attach_detachFunction · 0.68
ztest_snapshot_createFunction · 0.68
ztest_snapshot_destroyFunction · 0.68