From 3e09037780ca95633749be3acd52e817eed7f98c Mon Sep 17 00:00:00 2001 From: dzwdz Date: Thu, 24 Aug 2023 19:10:35 +0200 Subject: libc: get most of binutils to compile --- src/libc/include/stdio.h | 3 +++ 1 file changed, 3 insertions(+) (limited to 'src/libc/include/stdio.h') diff --git a/src/libc/include/stdio.h b/src/libc/include/stdio.h index 48d5058..169646f 100644 --- a/src/libc/include/stdio.h +++ b/src/libc/include/stdio.h @@ -29,6 +29,7 @@ int fprintf(FILE *restrict f, const char *restrict fmt, ...); int sprintf(char *restrict s, const char *restrict fmt, ...); int vprintf(const char *restrict fmt, va_list ap); +int vsprintf(char *restrict s, const char *restrict fmt, va_list ap); int vfprintf(FILE *restrict f, const char *restrict fmt, va_list ap); int _klogf(const char *fmt, ...); // for kernel debugging only @@ -40,6 +41,7 @@ FILE *fopen(const char *path, const char *mode); FILE *freopen(const char *path, const char *mode, FILE *); FILE *fdopen(int fd, const char *mode); FILE *file_clone(const FILE *, const char *mode); +int fileno(FILE *f); FILE *popen(const char *cmd, const char *mode); int pclose(FILE *f); FILE *tmpfile(void); @@ -60,6 +62,7 @@ int putc(int c, FILE *f); int ungetc(int c, FILE *f); int fseek(FILE *f, long offset, int whence); +void rewind(FILE *f); int fseeko(FILE *f, off_t offset, int whence); long ftell(FILE *f); off_t ftello(FILE *f); -- cgit v1.2.3