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

Function printf_putstr

kernel/generic/src/printf/printf_core.c:155–161  ·  view source on GitHub ↗

Print string without adding a newline. * * @param str String to print. * @param ps Write function specification and support data. * * @return Number of characters printed. * */

Source from the content-addressed store, hash-verified

153 *
154 */
155static int printf_putstr(const char *str, printf_spec_t *ps)
156{
157 if (str == NULL)
158 return printf_putnchars(nullstr, str_size(nullstr), ps);
159
160 return ps->str_write((void *) str, str_size(str), ps->data);
161}
162
163/** Print one ASCII character.
164 *

Callers 3

print_strFunction · 0.70
print_wstrFunction · 0.70
print_numberFunction · 0.70

Calls 2

printf_putncharsFunction · 0.70
str_sizeFunction · 0.50

Tested by

no test coverage detected