MCPcopy Create free account
hub / github.com/apache/nuttx / printf

Function printf

libs/libc/stdio/lib_printf.c:37–51  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

35 ****************************************************************************/
36
37int printf(FAR const IPTR char *fmt, ...)
38{
39 va_list ap;
40 int ret;
41
42 va_start(ap, fmt);
43#ifdef CONFIG_FILE_STREAM
44 ret = vfprintf(stdout, fmt, ap);
45#else
46 ret = vdprintf(STDOUT_FILENO, fmt, ap);
47#endif
48 va_end(ap);
49
50 return ret;
51}

Callers 15

bl_os_assert_funcFunction · 0.85
esp_nxdiag_readFunction · 0.85
esp_nxdiag_readFunction · 0.85
nrf52_radioi8_trace_dumpFunction · 0.85
nrf52_radio_dumpregsFunction · 0.85
fdcan_dumpregsFunction · 0.85
rp2040_flash_block_writeFunction · 0.85
rp2040_flash_byte_readFunction · 0.85
my_writeFunction · 0.85
my_readFunction · 0.85

Calls 2

vfprintfFunction · 0.85
vdprintfFunction · 0.85

Tested by 2

dump_chainFunction · 0.68
mainFunction · 0.68