MCPcopy Create free account
hub / github.com/bytecodealliance/wasm-micro-runtime / os_printf

Function os_printf

core/shared/platform/linux/platform_init.c:18–33  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

16{}
17
18int
19os_printf(const char *format, ...)
20{
21 int ret = 0;
22 va_list ap;
23
24 va_start(ap, format);
25#ifndef BH_VPRINTF
26 ret += vprintf(format, ap);
27#else
28 ret += BH_VPRINTF(format, ap);
29#endif
30 va_end(ap);
31
32 return ret;
33}
34
35int
36os_vprintf(const char *format, va_list ap)

Callers 15

wasi_fd_writeFunction · 0.50
wasmtime_ssp_fd_writeFunction · 0.50
printf_outFunction · 0.50
printf_wrapperFunction · 0.50
puts_wrapperFunction · 0.50
putchar_wrapperFunction · 0.50
print_wrapperFunction · 0.50
print_i32_wrapperFunction · 0.50
print_i64_wrapperFunction · 0.50
print_i32_f32_wrapperFunction · 0.50
print_f64_f64_wrapperFunction · 0.50
print_f32_wrapperFunction · 0.50

Calls

no outgoing calls

Tested by

no test coverage detected