diff options
author | dzwdz | 2023-08-27 02:06:32 +0200 |
---|---|---|
committer | dzwdz | 2023-08-27 02:06:32 +0200 |
commit | e43939bcc6123e02314aa403eef94d5ace441f7f (patch) | |
tree | ac0cea10e8708ae1a6a7a400257c4bc59175a91f /src/libc/include/stdio.h | |
parent | 1f938c20b4a82ca1267ab9a1ec0922878a21ca6b (diff) |
ports: qbe, cproc :^)
Diffstat (limited to 'src/libc/include/stdio.h')
-rw-r--r-- | src/libc/include/stdio.h | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/src/libc/include/stdio.h b/src/libc/include/stdio.h index c579df5..b582e8f 100644 --- a/src/libc/include/stdio.h +++ b/src/libc/include/stdio.h @@ -1,4 +1,5 @@ #pragma once + #include <bits/file.h> #include <stdarg.h> #include <stddef.h> @@ -27,6 +28,7 @@ int printf(const char *restrict fmt, ...); int fprintf(FILE *restrict f, const char *restrict fmt, ...); int sprintf(char *restrict s, const char *restrict fmt, ...); +int snprintf(char *restrict str, size_t len, 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); @@ -86,4 +88,6 @@ char *tmpnam(char *s); int sscanf(const char *restrict s, const char *restrict format, ...); int vsscanf(const char* str, const char* format, va_list ap); +int fscanf(FILE* fp, const char* format, ...); +int vfscanf(FILE* fp, const char* format, va_list ap); int vcbscanf(void* fp, int (*fgetc)(void*), int (*ungetc)(int, void*), const char* restrict format, va_list ap); |