diff options
Diffstat (limited to 'src/init/stdlib.h')
-rw-r--r-- | src/init/stdlib.h | 23 |
1 files changed, 0 insertions, 23 deletions
diff --git a/src/init/stdlib.h b/src/init/stdlib.h deleted file mode 100644 index e1e753d..0000000 --- a/src/init/stdlib.h +++ /dev/null @@ -1,23 +0,0 @@ -#pragma once -#include <init/malloc.h> -#include <shared/mem.h> -#include <stdbool.h> -#include <stddef.h> - -int printf(const char *fmt, ...); -int snprintf(char *str, size_t len, const char *fmt, ...); - -int _klogf(const char *fmt, ...); // for kernel debugging only - -typedef struct { - int fd; - int pos; - bool eof; -} libc_file; -libc_file *file_open(const char *path, int flags); -libc_file *file_reopen(libc_file*, const char *path, int flags); -int file_read(libc_file*, char *buf, size_t len); -int file_write(libc_file*, const char *buf, size_t len); -void file_close(libc_file*); - -extern libc_file *stdin, *stdout; |