diff options
author | dzwdz | 2023-08-24 19:10:35 +0200 |
---|---|---|
committer | dzwdz | 2023-08-24 19:10:35 +0200 |
commit | 3e09037780ca95633749be3acd52e817eed7f98c (patch) | |
tree | 83bcf5026cd4383809c81c5f38473a6b1e46755e /src/libc/include/stdio.h | |
parent | 292b2386d766826b15f5ca084d37aa2c485fdda6 (diff) |
libc: get most of binutils to compile
Diffstat (limited to 'src/libc/include/stdio.h')
-rw-r--r-- | src/libc/include/stdio.h | 3 |
1 files changed, 3 insertions, 0 deletions
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); |