root/dos/stdio.h

Revision 1fb6b70cdacaf3ca3c069a6d96434eed3b6bc22f, 426 bytes (checked in by Shao Miller <shao.miller@…>, 23 months ago)

dos: Work-in-progress

  • Property mode set to 100644
Line 
1#ifndef STDIO_H
2#define STDIO_H
3
4#include <stdarg.h>
5#include <stdlib.h>
6
7typedef unsigned int off_t;
8
9int putchar(int);
10int puts(const char *);
11int sprintf(char *buf, const char *fmt, ...);
12int vsprintf(char *buf, const char *fmt, va_list args);
13int printf(const char *fmt, ...);
14
15#define stdin   0
16#define stdout  1
17#define stderr  2
18
19#define EOF (-1)
20
21#define fprintf(x, y, ...) printf(y, ## __VA_ARGS__)
22
23#endif /* STDIO_H */
Note: See TracBrowser for help on using the browser.