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

Function log_printf_str_write

kernel/generic/src/log/log.c:201–214  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

199}
200
201static int log_printf_str_write(const char *str, size_t size, void *data)
202{
203 size_t offset = 0;
204 size_t chars = 0;
205
206 while (offset < size) {
207 kio_push_char(str_decode(str, &offset, size));
208 chars++;
209 }
210
211 log_append((const uint8_t *)str, size);
212
213 return chars;
214}
215
216static int log_printf_wstr_write(const char32_t *wstr, size_t size, void *data)
217{

Callers

nothing calls this directly

Calls 3

kio_push_charFunction · 0.85
log_appendFunction · 0.85
str_decodeFunction · 0.50

Tested by

no test coverage detected