MCPcopy Create free account
hub / github.com/HelenOS/helenos / snprintf

Function snprintf

kernel/generic/src/printf/snprintf.c:38–49  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

36#include <printf/printf_core.h>
37
38int snprintf(char *str, size_t size, const char *fmt, ...)
39{
40 int ret;
41 va_list args;
42
43 va_start(args, fmt);
44 ret = vsnprintf(str, size, fmt, args);
45
46 va_end(args);
47
48 return ret;
49}
50
51/** @}
52 */

Callers 3

test_print3Function · 0.50
kinitFunction · 0.50
ofw_tree_node_sysinfoFunction · 0.50

Calls 1

vsnprintfFunction · 0.70

Tested by 1

test_print3Function · 0.40