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

Function printf_putnchars

payloads/libpayload/libc/printf.c:97–101  ·  view source on GitHub ↗

* Print one or more characters without adding newline. * * @param buf Buffer of >= count bytesi size. NULL pointer is not allowed! * @param count Number of characters to print. * @param ps Output method and its data. * @return Number of characters printed. */

Source from the content-addressed store, hash-verified

95 * @return Number of characters printed.
96 */
97static int printf_putnchars(const char *buf, size_t count,
98 struct printf_spec *ps)
99{
100 return ps->write(buf, count, ps->data);
101}
102
103/**
104 * Print one character.

Callers 4

print_spacesFunction · 0.85
print_stringFunction · 0.85
print_numberFunction · 0.85
printf_coreFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected