aboutsummaryrefslogtreecommitdiff
path: root/libs/kstd/include/kstd/print
diff options
context:
space:
mode:
Diffstat (limited to 'libs/kstd/include/kstd/print')
-rw-r--r--libs/kstd/include/kstd/print15
1 files changed, 3 insertions, 12 deletions
diff --git a/libs/kstd/include/kstd/print b/libs/kstd/include/kstd/print
index df42997..ffafda9 100644
--- a/libs/kstd/include/kstd/print
+++ b/libs/kstd/include/kstd/print
@@ -1,26 +1,17 @@
#ifndef KSTD_PRINT
#define KSTD_PRINT
+#include "bits/print_sink.hpp" // IWYU pragma: export
+#include "os/print.hpp"
+
#include <kstd/format>
#include <array>
-#include <string_view>
#include <type_traits>
namespace kstd
{
- enum struct print_sink
- {
- stdout,
- stderr,
- };
-
- namespace os
- {
- auto vprint(print_sink sink, std::string_view format, kstd::format_args args) -> void;
- } // namespace os
-
//! @qualifier kernel-defined
//! Format the given string using the given arguments and print it to the currently active output device.
//!