1
0
Fork 0
forked from len0rd/rockbox

stdio compat layer for plugins

This is attempt to simplify porting programs to rockbox (as plugins).
Currently this compat layer implements:
fopen(), fclose(), fflush(), fread(), fwrite(), fseek(), fseeko(),
ftell(), ftello(), fgetc(), ungetc(), fputc(), fgets(), clearerr(),
ferror(), feof(), fprintf()

In order to use it you need to include in ported sources
"lib/stdio_compat.h"

Change-Id: I5add615dd19c5af9c767ccbfb1bd5a4e466741cb
This commit is contained in:
Marcin Bukat 2013-01-18 16:16:59 +01:00 committed by Franklin Wei
parent d35a18f6b4
commit a8423321b8
4 changed files with 301 additions and 0 deletions

View file

@ -104,4 +104,6 @@
#endif
#define uintmax_t unsigned long long
#define intmax_t long long
#endif /* __STDINT_H__ */