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

Function sprintf

payloads/libpayload/libc/printf.c:684–694  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

682}
683
684int sprintf(char *str, const char *fmt, ...)
685{
686 int ret;
687 va_list args;
688
689 va_start(args, fmt);
690 ret = vsprintf(str, fmt, args);
691 va_end(args);
692
693 return ret;
694}
695
696int fprintf(FILE *file, const char *fmt, ...)
697{

Callers 15

get_option_as_stringFunction · 0.85
_init_console_infoFunction · 0.85
padstrFunction · 0.85
idleFunction · 0.85
showfileFunction · 0.85
XinitscrFunction · 0.85
dStackFunction · 0.85
TouchlineFunction · 0.85
Check_This_FieldFunction · 0.85
Check_This_FieldFunction · 0.85
print_submenuFunction · 0.85
print_menuFunction · 0.85

Calls 1

vsprintfFunction · 0.85

Tested by 2

test_get_file_sizeFunction · 0.68
test_read_fileFunction · 0.68