KallistiOS git master
Independent SDK for the Sega Dreamcast
|
RAM-based virtual file system. More...
Go to the source code of this file.
Functions | |
int | fs_ramdisk_attach (const char *fn, void *obj, size_t size) |
Attach a block of memory as a file in the ramdisk. | |
int | fs_ramdisk_detach (const char *fn, void **obj, size_t *size) |
Detach a file from the ramdisk. | |
RAM-based virtual file system.
This file contains support for a ramdisk VFS. This VFS allows you to map memory into files that will appear in /ram. Files in this VFS can grow as large as memory allows, and there is full read/write support here. This is useful, for (for instance) caching files read from the CD-ROM or for making temporary files.
You only have one ramdisk available, and its mounted on /ram.