MCPcopy Create free account
hub / github.com/coreboot/coreboot / snprintf

Function snprintf

payloads/libpayload/libc/printf.c:672–682  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

670}
671
672int snprintf(char *str, size_t size, const char *fmt, ...)
673{
674 int ret;
675 va_list args;
676
677 va_start(args, fmt);
678 ret = vsnprintf(str, size, fmt, args);
679 va_end(args);
680
681 return ret;
682}
683
684int sprintf(char *str, const char *fmt, ...)
685{

Callers 5

strerrorFunction · 0.70
serial_set_colorFunction · 0.50
serial_set_cursorFunction · 0.50
timestamp_print_entryFunction · 0.50
timestamps_module_initFunction · 0.50

Calls 1

vsnprintfFunction · 0.70

Tested by

no test coverage detected