aboutsummaryrefslogtreecommitdiff
path: root/libc/inc/print.h
diff options
context:
space:
mode:
Diffstat (limited to 'libc/inc/print.h')
-rw-r--r--libc/inc/print.h10
1 files changed, 10 insertions, 0 deletions
diff --git a/libc/inc/print.h b/libc/inc/print.h
index 04668b2..575cc5f 100644
--- a/libc/inc/print.h
+++ b/libc/inc/print.h
@@ -11,4 +11,14 @@ int vprintf(const char *format, va_list ap);
int vsprintf(char *str, const char *format, va_list ap);
int print(const char *str);
+#ifdef userspace
+int vfprintf(const char *path, const char *format, va_list ap);
+int fprintf(const char *path, const char *format, ...);
+int log(const char *format, ...);
+int err(int code, const char *format, ...);
+#else
+#include <proc.h>
+int print_app(enum stream_defaults id, const char *proc_name, const char *str);
+#endif
+
#endif