2008-10-11 07:35:26 -07:00
|
|
|
#ifndef __EVIL_STDIO_H__
|
|
|
|
#define __EVIL_STDIO_H__
|
|
|
|
|
|
|
|
|
2008-10-24 00:32:08 -07:00
|
|
|
#if defined (_WIN32_WCE) && ! defined (__CEGCC__)
|
2008-10-11 07:35:26 -07:00
|
|
|
|
|
|
|
|
2008-11-03 23:53:43 -08:00
|
|
|
# include <stdio.h>
|
2008-10-11 07:35:26 -07:00
|
|
|
|
|
|
|
/*
|
|
|
|
* Error related functions
|
|
|
|
*
|
|
|
|
*/
|
|
|
|
|
|
|
|
EAPI void perror (const char *s);
|
|
|
|
|
|
|
|
/*
|
|
|
|
* Stream related functions
|
|
|
|
*
|
|
|
|
*/
|
|
|
|
|
2008-10-24 00:32:08 -07:00
|
|
|
EAPI FILE *evil_fopen(const char *path, const char *mode);
|
|
|
|
|
2008-11-03 23:53:43 -08:00
|
|
|
# define fopen(path, mode) evil_fopen(path, mode)
|
|
|
|
|
2008-11-05 09:27:20 -08:00
|
|
|
EAPI void evil_rewind(FILE *stream);
|
|
|
|
|
|
|
|
#define rewind(f) evil_rewind(f)
|
2008-10-11 07:35:26 -07:00
|
|
|
|
2008-10-24 00:32:08 -07:00
|
|
|
#endif /* _WIN32_WCE && ! __CEGCC__ */
|
2008-10-11 07:35:26 -07:00
|
|
|
|
|
|
|
|
|
|
|
#endif /* __EVIL_STDIO_H__ */
|