![]() |
libdragon
|
newlib Interface Hooks More...
Go to the source code of this file.
Data Structures | |
| struct | filesystem_t |
| Filesystem hook structure. More... | |
| struct | stdio_t |
| Standard I/O hook structure. More... | |
Macros | |
| #define | MAX_FILESYSTEMS 10 |
| Number of filesystems that can be attached to the system. | |
| #define | MAX_OPEN_HANDLES 4096 |
| Number of open handles that can be maintained at one time. | |
Functions | |
| int | attach_filesystem (const char *const prefix, filesystem_t *filesystem) |
| Register a filesystem with newlib. | |
| int | detach_filesystem (const char *const prefix) |
| Unregister a filesystem from newlib. | |
| int | hook_stdio_calls (stdio_t *stdio_calls) |
| Hook into stdio for STDIN, STDOUT and STDERR callbacks. | |
| int | unhook_stdio_calls (stdio_t *stdio_calls) |
| Unhook from stdio. | |
| int | hook_time_call (time_t(*time_fn)(void)) |
| Hook into gettimeofday with a current time callback. | |
| int | unhook_time_call (time_t(*time_fn)(void)) |
| Unhook from gettimeofday current time callback. | |
newlib Interface Hooks