ioprivate.h (440B)
1 #ifndef STDIO_IOPRIVATE_H 2 #define STDIO_IOPRIVATE_H 3 4 #include <stdio.h> 5 #include <stdarg.h> 6 7 // Buffered I/O helpers 8 int __writebuf(FILE *f, const void *buf, size_t size); 9 int __getospace(FILE *f); 10 int __getinput(FILE *f); 11 12 // Formatted I/O helpers 13 int printfmt(int (*putch)(int, void*), void *putdat, const char *fmt, ...); 14 int vprintfmt(int (*putch)(int, void*), void *putdat, const char *fmt, 15 va_list ap); 16 17 #endif // STDIO_IOPRIVATE_H