| /* |
| * stdio.h |
| */ |
| |
| #ifndef _STDIO_H |
| #define _STDIO_H |
| |
| #include <extern.h> |
| #include <stdarg.h> |
| #include <stddef.h> |
| |
| /* This structure doesn't really exist, but it gives us something |
| to define FILE * with */ |
| struct _IO_file; |
| typedef struct _IO_file FILE; |
| |
| #define stdin ((FILE *)0) |
| #define stdout ((FILE *)1) |
| #define stderr ((FILE *)2) |
| |
| __extern int fputs(const char *, FILE *); |
| |
| __extern int printf(const char *, ...); |
| __extern int vprintf(const char *, va_list); |
| __extern int fprintf(FILE *, const char *, ...); |
| __extern int vfprintf(FILE *, const char *, va_list); |
| __extern int sprintf(char *, const char *, ...); |
| __extern int vsprintf(char *, const char *, va_list); |
| __extern int snprintf(char *, size_t n, const char *, ...); |
| __extern int vsnprintf(char *, size_t n, const char *, va_list); |
| |
| #endif /* _STDIO_H */ |