diff options
author | Patryk Niedźwiedziński <pniedzwiedzinski19@gmail.com> | 2021-04-17 10:28:11 +0200 |
---|---|---|
committer | Patryk Niedźwiedziński <pniedzwiedzinski19@gmail.com> | 2021-04-17 10:28:11 +0200 |
commit | b1ddaa81f28b8bbc62d6d50526e0935b173099eb (patch) | |
tree | e606c194f8eecdedf3f710ed097cadfe97d60122 /stdio/internal.h | |
download | md2html-b1ddaa81f28b8bbc62d6d50526e0935b173099eb.tar.gz md2html-b1ddaa81f28b8bbc62d6d50526e0935b173099eb.zip |
Init
Diffstat (limited to 'stdio/internal.h')
-rw-r--r-- | stdio/internal.h | 19 |
1 files changed, 19 insertions, 0 deletions
diff --git a/stdio/internal.h b/stdio/internal.h new file mode 100644 index 0000000..ba8de1e --- /dev/null +++ b/stdio/internal.h @@ -0,0 +1,19 @@ +#ifndef COSMOPOLITAN_LIBC_STDIO_INTERNAL_H_ +#define COSMOPOLITAN_LIBC_STDIO_INTERNAL_H_ +#include "libc/stdio/stdio.h" + +#define PUSHBACK 12 + +#if !(__ASSEMBLER__ + __LINKER__ + 0) +COSMOPOLITAN_C_START_ + +extern char g_stdinbuf[BUFSIZ]; +extern char g_stdoutbuf[BUFSIZ]; +extern char g_stderrbuf[BUFSIZ]; + +int __fflush_register(FILE *) hidden; +void __fflush_unregister(FILE *) hidden; + +COSMOPOLITAN_C_END_ +#endif /* !(__ASSEMBLER__ + __LINKER__ + 0) */ +#endif /* COSMOPOLITAN_LIBC_STDIO_INTERNAL_H_ */ |