]> pd.if.org Git - pdclib/blob - includes/stdio.h
Initial checkin.
[pdclib] / includes / stdio.h
1 /* $Id$ */
2
3 /* Release $Name$ */
4
5 /* Input/output <stdio.h>
6
7    This file is part of the Public Domain C Library (PDCLib).
8    Permission is granted to use, modify, and / or redistribute at will.
9 */
10
11 /* TODO: This is a dummy header to avoid errors when mixing PDCLIB <stdarg.h> */
12 /* with glibc <stdio.h>.                                                      */
13
14 #ifndef _PDCLIB_STDIO_H
15 #define _PDCLIB_STDIO_H _PDCLIB_STDIO_H
16
17 #ifndef _PDCLIB_AUX_H
18 #define _PDCLIB_AUX_H _PDCLIB_AUX_H
19 #include <_PDCLIB_aux.h>
20 #endif
21
22 typedef void * FILE;
23
24 extern void * stderr;
25
26 int printf( const char * _PDCLIB_restrict format, ... );
27 int fputs( const char * _PDCLIB_restrict s, FILE * _PDCLIB_restrict stream );
28 int puts( const char * _PDCLIB_restrict s );
29
30 #endif