diff options
author | Marvin Borner | 2021-04-25 13:43:14 +0200 |
---|---|---|
committer | Marvin Borner | 2021-04-25 13:43:14 +0200 |
commit | f2b4acb2fe6a366288b19843e0d2678b8590bdf4 (patch) | |
tree | 1eb869f237908ec0b2516c00f940c6562c5cc5bd /libs/libc/inc/print.h | |
parent | cd46cefdd74b9ad0b225706f4d4b5864e87d97d6 (diff) |
Chu chuu, using the bus for everything now!
Well, I know: bus != train. But I like trains. So I don't care.
Go away!
Diffstat (limited to 'libs/libc/inc/print.h')
-rw-r--r-- | libs/libc/inc/print.h | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/libs/libc/inc/print.h b/libs/libc/inc/print.h index 1d85c33..6d959c3 100644 --- a/libs/libc/inc/print.h +++ b/libs/libc/inc/print.h @@ -14,13 +14,16 @@ int print(const char *str) NONNULL; NORETURN void panic(const char *format, ...) NONNULL; #ifdef USER +#include <sys.h> int vfprintf(const char *path, const char *format, va_list ap) NONNULL; +int viprintf(enum io_type io, const char *format, va_list ap) NONNULL; int fprintf(const char *path, const char *format, ...) NONNULL; +int iprintf(enum io_type io, const char *format, ...) NONNULL; int log(const char *format, ...) NONNULL; void err(int code, const char *format, ...) NONNULL; #else #include <proc.h> -int print_app(enum stream_defaults id, const char *proc_name, const char *str) NONNULL; +int print_prefix(void); void print_trace(u32 count); #endif |