MCPcopy Create free account
hub / github.com/acl-dev/acl / acl_snprintf

Function acl_snprintf

lib_acl/src/stdlib/acl_vsprintf.c:395–404  ·  view source on GitHub ↗

* snprintf - Format a string and place it in a buffer * @buf: The buffer to place the result into * @size: The size of the buffer, including the trailing null space * @fmt: The format string to use * @...: Arguments for the format string */

Source from the content-addressed store, hash-verified

393 * @...: Arguments for the format string
394 */
395int acl_snprintf(char * buf, size_t size, const char *fmt, ...)
396{
397 va_list args;
398 int i;
399
400 va_start(args, fmt);
401 i=acl_vsnprintf(buf,size,fmt,args);
402 va_end(args);
403 return i;
404}
405
406/**
407 * vsprintf - Format a string and place it in a buffer

Callers 8

__log_openFunction · 0.85
__log_openFunction · 0.85
build_dns_dbFunction · 0.85
server_bind_oneFunction · 0.85
__log_openFunction · 0.85
__log_openFunction · 0.85
logger_openFunction · 0.85

Calls 1

acl_vsnprintfFunction · 0.85

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…