diff options
author | dzwdz | 2022-04-14 12:19:51 +0200 |
---|---|---|
committer | dzwdz | 2022-04-14 12:19:51 +0200 |
commit | 2eead2f6eab2aa1fbc727ce28d9fa9a8e90a1eec (patch) | |
tree | d4bb0ae50e5f612a4fae67763414f72ea1a85b8a /src/shared/printf.h | |
parent | dcb2ce6337f54a9821e3971976a07e767846e3c1 (diff) |
kernel: port init's `printf` implementation
Diffstat (limited to 'src/shared/printf.h')
-rw-r--r-- | src/shared/printf.h | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/src/shared/printf.h b/src/shared/printf.h new file mode 100644 index 0000000..45fd358 --- /dev/null +++ b/src/shared/printf.h @@ -0,0 +1,6 @@ +#pragma once +#include <stdarg.h> +#include <stddef.h> + +int __printf_internal(const char *fmt, va_list argp, + void (*back)(void*, const char*, size_t), void *back_arg); |