mirror of
https://github.com/Rockbox/rockbox.git
synced 2025-10-14 02:27:39 -04:00
Keep track of the number of opened files in the sim to enforce the same limit as on target.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@15045 a1c6a512-1295-4272-9138-f99709370657
This commit is contained in:
parent
f22e323e63
commit
ef9abe4385
3 changed files with 32 additions and 6 deletions
|
@ -57,6 +57,7 @@
|
|||
#define lseek(x,y,z) sim_lseek(x,y,z)
|
||||
#define read(x,y,z) sim_read(x,y,z)
|
||||
#define write(x,y,z) sim_write(x,y,z)
|
||||
#define close(x) sim_close(x)
|
||||
#endif
|
||||
|
||||
typedef int (*open_func)(const char* pathname, int flags);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue