aboutsummaryrefslogtreecommitdiff
path: root/libs/libc/inc/print.h
diff options
context:
space:
mode:
Diffstat (limited to 'libs/libc/inc/print.h')
-rw-r--r--libs/libc/inc/print.h5
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