diff options
author | Himbeer <himbeer@disroot.org> | 2024-08-01 16:43:16 +0200 |
---|---|---|
committer | Himbeer <himbeer@disroot.org> | 2024-08-01 16:43:16 +0200 |
commit | fabd4746cd380200fca1f120a760b0b17652e982 (patch) | |
tree | 92e92b3e5cf49d0c378440e6cd88bbdc7d60fd7c | |
parent | 6247c2f436fd7735dde8261fe7c46b6f051bd2c5 (diff) |
Update consoleWrite documentation
-rw-r--r-- | static/md/srvre/kernel/wiki/syscalls.md | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/static/md/srvre/kernel/wiki/syscalls.md b/static/md/srvre/kernel/wiki/syscalls.md index 34f6967..d362af5 100644 --- a/static/md/srvre/kernel/wiki/syscalls.md +++ b/static/md/srvre/kernel/wiki/syscalls.md @@ -84,10 +84,11 @@ consoleWrite (#100001) Signature: ``` -consoleWrite(bytes: [*]const u8, len: usize) void +consoleWrite(bytes: [*]const u8, len: usize) !usize ``` -Writes the string at `bytes` directly to the debug console. +Writes the provided `bytes` directly to the debug console, +returning how many bytes were written or an error. * `bytes` is a pointer to the string * `len` is the length of the string in bytes |