aboutsummaryrefslogtreecommitdiff
path: root/kapi/include
diff options
context:
space:
mode:
authorFelix Morgner <felix.morgner@ost.ch>2026-04-01 09:36:31 +0200
committerFelix Morgner <felix.morgner@ost.ch>2026-04-01 09:37:52 +0200
commitfa1ea53e6f3dd6b9b5f5f8160776b230184a30bf (patch)
tree483d7a4b48a879d535b80d20ae43dcebaec99079 /kapi/include
parent5ae03c52fe33882416aa6044993d8422ccb33ab4 (diff)
downloadteachos-fa1ea53e6f3dd6b9b5f5f8160776b230184a30bf.tar.xz
teachos-fa1ea53e6f3dd6b9b5f5f8160776b230184a30bf.zip
kernel/tests: implement platform CIO kapi
Diffstat (limited to 'kapi/include')
-rw-r--r--kapi/include/kapi/cio.hpp5
1 files changed, 5 insertions, 0 deletions
diff --git a/kapi/include/kapi/cio.hpp b/kapi/include/kapi/cio.hpp
index 48f3000..71b5b02 100644
--- a/kapi/include/kapi/cio.hpp
+++ b/kapi/include/kapi/cio.hpp
@@ -25,6 +25,11 @@ namespace kapi::cio
//! @return The previously active output device.
auto set_output_device(output_device & device) -> std::optional<output_device *>;
+ //! @qualifier kernel-defined
+ //! Write a string to the given output stream.
+ //!
+ //! @param stream The output stream to write to.
+ //! @param text The text to write to the stream.
auto write(output_stream stream, std::string_view text) -> void;
} // namespace kapi::cio