diff options
| author | Ada Christine <adachristine18@gmail.com> | 2026-05-24 11:09:31 +0000 |
|---|---|---|
| committer | Ada Christine <adachristine18@gmail.com> | 2026-05-24 11:09:31 +0000 |
| commit | d07bd08dd0446e8c41eccaccbb07e9112200e8ee (patch) | |
| tree | 742a3f9d9d84c8ee55858b2ebc7e0e0f8c714c7c /lib/api/libc/stdio.h | |
| parent | 9aaf21bf10d00ec12b24499817e3e91dca08c461 (diff) | |
rename and move, function renames in stdio
Diffstat (limited to 'lib/api/libc/stdio.h')
| -rw-r--r-- | lib/api/libc/stdio.h | 18 |
1 files changed, 18 insertions, 0 deletions
diff --git a/lib/api/libc/stdio.h b/lib/api/libc/stdio.h new file mode 100644 index 0000000..1edec4a --- /dev/null +++ b/lib/api/libc/stdio.h @@ -0,0 +1,18 @@ +#pragma once + +#include <libc/string.h> + +#include <stdarg.h> + +typedef struct FILE FILE; + +extern FILE *stdout; +extern FILE *stderr; + +extern int fputc(int c, FILE *f); + +int vfprintf(FILE *f, const char *restrict format, va_list arguments); +int fprintf(FILE *f, const char *restrict format, ...); +int vprintf(const char *restrict format, va_list arguments); +int printf(const char *restrict format, ...); + |
