|
RetroArch
|
#include <stdio.h>#include <stdlib.h>#include <string.h>#include <errno.h>#include <sys/types.h>#include <sys/stat.h>#include <dirent.h>#include <unistd.h>#include <fcntl.h>#include <vfs/vfs_implementation.h>#include <libretro.h>#include <memmap.h>#include <encodings/utf.h>#include <compat/fopen_utf8.h>Classes | |
| struct | libretro_vfs_implementation_file |
Macros | |
| #define | RFILE_HINT_UNBUFFERED (1 << 8) |
| #define RFILE_HINT_UNBUFFERED (1 << 8) |
| int retro_vfs_file_close_impl | ( | libretro_vfs_implementation_file * | stream | ) |
| int retro_vfs_file_error_impl | ( | libretro_vfs_implementation_file * | stream | ) |
| int retro_vfs_file_flush_impl | ( | libretro_vfs_implementation_file * | stream | ) |
| const char* retro_vfs_file_get_path_impl | ( | libretro_vfs_implementation_file * | stream | ) |
| libretro_vfs_implementation_file* retro_vfs_file_open_impl | ( | const char * | path, |
| unsigned | mode, | ||
| unsigned | hints | ||
| ) |
retro_vfs_file_open_impl: : path to file : file mode to use when opening (read/write) :
Opens a file for reading or writing, depending on the requested mode. Returns a pointer to an RFILE if opened successfully, otherwise NULL.
| int64_t retro_vfs_file_read_impl | ( | libretro_vfs_implementation_file * | stream, |
| void * | s, | ||
| uint64_t | len | ||
| ) |
| int retro_vfs_file_remove_impl | ( | const char * | path | ) |
| int64_t retro_vfs_file_seek_impl | ( | libretro_vfs_implementation_file * | stream, |
| int64_t | offset, | ||
| int | seek_position | ||
| ) |
| int64_t retro_vfs_file_seek_internal | ( | libretro_vfs_implementation_file * | stream, |
| int64_t | offset, | ||
| int | whence | ||
| ) |
| int64_t retro_vfs_file_size_impl | ( | libretro_vfs_implementation_file * | stream | ) |
| int64_t retro_vfs_file_tell_impl | ( | libretro_vfs_implementation_file * | stream | ) |
| int64_t retro_vfs_file_truncate_impl | ( | libretro_vfs_implementation_file * | stream, |
| int64_t | length | ||
| ) |
| int64_t retro_vfs_file_write_impl | ( | libretro_vfs_implementation_file * | stream, |
| const void * | s, | ||
| uint64_t | len | ||
| ) |
1.8.15