aboutsummaryrefslogtreecommitdiffstats
path: root/dos/stdio.h
blob: c7ca25cb1a6ca7d867e9270c65d12ea70209fd3f (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
#ifndef STDIO_H
#define STDIO_H

#include <stdarg.h>
#include <stdlib.h>

typedef unsigned int off_t;

int putchar(int);
int puts(const char *);
int sprintf(char *buf, const char *fmt, ...);
int vsprintf(char *buf, const char *fmt, va_list args);
int printf(const char *fmt, ...);

#define stdin	0
#define stdout	1
#define stderr	2

#define EOF (-1)

#define fprintf(x, y, ...) printf(y, ## __VA_ARGS__)

#endif /* STDIO_H */