diff options
Diffstat (limited to 'libc/inc/print.h')
-rw-r--r-- | libc/inc/print.h | 27 |
1 files changed, 0 insertions, 27 deletions
diff --git a/libc/inc/print.h b/libc/inc/print.h deleted file mode 100644 index 58b5dc6..0000000 --- a/libc/inc/print.h +++ /dev/null @@ -1,27 +0,0 @@ -// MIT License, Copyright (c) 2020 Marvin Borner - -#ifndef PRINT_H -#define PRINT_H - -#include "arg.h" -#include <def.h> - -int printf(const char *format, ...); -int vprintf(const char *format, va_list ap); -int sprintf(char *str, const char *format, ...); -int vsprintf(char *str, const char *format, va_list ap); -int print(const char *str); -NORETURN void panic(const char *format, ...); - -#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); -void print_trace(u32 count); -#endif - -#endif |