Simplify and fix label string scanning
[syslinux.git] / dos / stdio.h
blob97988c24fc06e75fa67dc346fcebb0978f285495
1 #ifndef STDIO_H
2 #define STDIO_H
4 #include <stdarg.h>
5 #include <stdlib.h>
7 typedef unsigned int off_t;
9 int putchar(int);
10 int puts(const char *);
11 int sprintf(char * buf, const char *fmt, ...);
12 int vsprintf(char *buf, const char *fmt, va_list args);
13 int printf(const char *fmt, ...);
15 #define stdin 0
16 #define stdout 1
17 #define stderr 2
19 #define fprintf(x, y, ...) printf(y, ## __VA_ARGS__)
21 #endif /* STDIO_H */