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:
parent
d35a18f6b4
commit
a8423321b8
4 changed files with 301 additions and 0 deletions
|
@ -104,4 +104,6 @@
|
|||
|
||||
#endif
|
||||
|
||||
#define uintmax_t unsigned long long
|
||||
#define intmax_t long long
|
||||
#endif /* __STDINT_H__ */
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue