diff options
Diffstat (limited to 'lib/stdio.h')
-rw-r--r-- | lib/stdio.h | 14 |
1 files changed, 12 insertions, 2 deletions
diff --git a/lib/stdio.h b/lib/stdio.h index 9a0c41e..5ef68f1 100644 --- a/lib/stdio.h +++ b/lib/stdio.h @@ -2,8 +2,15 @@ #include <stdarg.h> +///@defgroup libk libk +///@{ +///@defgroup stdio stdio +///@{ + #ifdef __cplusplus -/** An object type used for streams */ +/** + * An object type used for streams + */ struct kIoDevice { /** Function that prints a character to the stream */ virtual void putc(char) = 0; @@ -29,8 +36,8 @@ extern "C" { #endif /** * Write the formatted string to stdout - * * Supports ``%s`` (string), ``%d`` (decimal), ``%u`` (unsigned), ``%x`` (hexadecimal) + * @return number of bytes written */ int printf(const char *restrict format, ...); @@ -46,3 +53,6 @@ int vfprintf(FILE *restrict stream, const char *restrict format, va_list ap); #ifdef __cplusplus } #endif + +///@} +///@} |