X-Git-Url: https://pd.if.org/git/?a=blobdiff_plain;f=includes%2Fstdio.h;h=df9bfe4261d16de6ec6e309803e7dbdbb4eb07df;hb=064097d5ed6eb8c2cfd337c29ac3ebc471e557b8;hp=62b5af18dd6a5deae86bfc2280ee482e23ff7038;hpb=1e221deb9ee725a14b3656f94e2763f8faeb18dc;p=pdclib diff --git a/includes/stdio.h b/includes/stdio.h index 62b5af1..df9bfe4 100644 --- a/includes/stdio.h +++ b/includes/stdio.h @@ -1,15 +1,30 @@ -// ---------------------------------------------------------------------------- -// $Id$ -// ---------------------------------------------------------------------------- -// Public Domain C Library - http://pdclib.sourceforge.net -// This code is Public Domain. Use, modify, and redistribute at will. -// ---------------------------------------------------------------------------- -// TODO -// ---------------------------------------------------------------------------- +/* $Id$ */ -#ifndef __STDIO_H -#define __STDIO_H __STDIO_H +/* Release $Name$ */ -// TODO +/* Input/output -#endif // __STDIO_H + This file is part of the Public Domain C Library (PDCLib). + Permission is granted to use, modify, and / or redistribute at will. +*/ + +/* TODO: This is a dummy header to avoid errors when mixing PDCLIB */ +/* with glibc . */ + +#ifndef _PDCLIB_STDIO_H +#define _PDCLIB_STDIO_H _PDCLIB_STDIO_H + +#ifndef _PDCLIB_AUX_H +#define _PDCLIB_AUX_H _PDCLIB_AUX_H +#include <_PDCLIB_aux.h> +#endif + +typedef void * FILE; + +extern void * stderr; + +int printf( const char * _PDCLIB_restrict format, ... ); +int fputs( const char * _PDCLIB_restrict s, FILE * _PDCLIB_restrict stream ); +int puts( const char * _PDCLIB_restrict s ); + +#endif