|
ginnOS
The reference: libc, the libraries and the kernel
|
#include "stdio.h"Enumerations | |
| enum | printf_length_t { LENGTH_INT , LENGTH_LONG , LENGTH_LONG_LONG , LENGTH_SIZE } |
Functions | |
| void | stdio_set_putchar (StdioPutCharFn func) |
| configure the low-level output backend for stdio. | |
| void | stdio_putchar (char c) |
| output a single character through the configured stdio backend. | |
| void | stdio_format_args (StdioPutCharFn out, const char *fmt, va_list args) |
| format engine entry point for variadic wrappers: they va_start their own arguments and pass the list here. | |
| void | printf (const char *fmt,...) |
| void | stdio_printf_to (StdioPutCharFn out, const char *fmt,...) |
| void | puts (const char *str) |
| enum printf_length_t |
| void stdio_set_putchar | ( | StdioPutCharFn | func | ) |
configure the low-level output backend for stdio.
this must be called by each runtime environment before printf/puts are used.
| func | callback used for character output. |
| void stdio_putchar | ( | char | c | ) |
output a single character through the configured stdio backend.
if no backend is configured this function does nothing.
| c | character to output. |
| void stdio_format_args | ( | StdioPutCharFn | out, |
| const char * | fmt, | ||
| va_list | args ) |
format engine entry point for variadic wrappers: they va_start their own arguments and pass the list here.
| out | character output callback. |
| fmt | format string. |
| args | the caller's argument list. |
| void printf | ( | const char * | fmt, |
| ... ) |
| void stdio_printf_to | ( | StdioPutCharFn | out, |
| const char * | fmt, | ||
| ... ) |
| void puts | ( | const char * | str | ) |