RetroArch
Classes | Macros | Functions
vfs_implementation.c File Reference
#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>
Include dependency graph for vfs_implementation.c:

Classes

struct  libretro_vfs_implementation_file
 

Macros

#define RFILE_HINT_UNBUFFERED   (1 << 8)
 

Functions

int64_t retro_vfs_file_seek_internal (libretro_vfs_implementation_file *stream, int64_t offset, int whence)
 
libretro_vfs_implementation_fileretro_vfs_file_open_impl (const char *path, unsigned mode, unsigned hints)
 
int retro_vfs_file_close_impl (libretro_vfs_implementation_file *stream)
 
int retro_vfs_file_error_impl (libretro_vfs_implementation_file *stream)
 
int64_t retro_vfs_file_size_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_tell_impl (libretro_vfs_implementation_file *stream)
 
int64_t retro_vfs_file_seek_impl (libretro_vfs_implementation_file *stream, int64_t offset, int seek_position)
 
int64_t retro_vfs_file_read_impl (libretro_vfs_implementation_file *stream, void *s, uint64_t len)
 
int64_t retro_vfs_file_write_impl (libretro_vfs_implementation_file *stream, const void *s, uint64_t len)
 
int retro_vfs_file_flush_impl (libretro_vfs_implementation_file *stream)
 
int retro_vfs_file_remove_impl (const char *path)
 
int retro_vfs_file_rename_impl (const char *old_path, const char *new_path)
 
const char * retro_vfs_file_get_path_impl (libretro_vfs_implementation_file *stream)
 

Macro Definition Documentation

◆ RFILE_HINT_UNBUFFERED

#define RFILE_HINT_UNBUFFERED   (1 << 8)

Function Documentation

◆ retro_vfs_file_close_impl()

int retro_vfs_file_close_impl ( libretro_vfs_implementation_file stream)
Here is the call graph for this function:
Here is the caller graph for this function:

◆ retro_vfs_file_error_impl()

int retro_vfs_file_error_impl ( libretro_vfs_implementation_file stream)

◆ retro_vfs_file_flush_impl()

int retro_vfs_file_flush_impl ( libretro_vfs_implementation_file stream)
Here is the caller graph for this function:

◆ retro_vfs_file_get_path_impl()

const char* retro_vfs_file_get_path_impl ( libretro_vfs_implementation_file stream)
Here is the caller graph for this function:

◆ retro_vfs_file_open_impl()

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.

Here is the call graph for this function:
Here is the caller graph for this function:

◆ retro_vfs_file_read_impl()

int64_t retro_vfs_file_read_impl ( libretro_vfs_implementation_file stream,
void s,
uint64_t  len 
)
Here is the call graph for this function:
Here is the caller graph for this function:

◆ retro_vfs_file_remove_impl()

int retro_vfs_file_remove_impl ( const char *  path)
Here is the call graph for this function:
Here is the caller graph for this function:

◆ retro_vfs_file_rename_impl()

int retro_vfs_file_rename_impl ( const char *  old_path,
const char *  new_path 
)
Here is the call graph for this function:
Here is the caller graph for this function:

◆ retro_vfs_file_seek_impl()

int64_t retro_vfs_file_seek_impl ( libretro_vfs_implementation_file stream,
int64_t  offset,
int  seek_position 
)
Here is the call graph for this function:
Here is the caller graph for this function:

◆ retro_vfs_file_seek_internal()

int64_t retro_vfs_file_seek_internal ( libretro_vfs_implementation_file stream,
int64_t  offset,
int  whence 
)
Here is the call graph for this function:
Here is the caller graph for this function:

◆ retro_vfs_file_size_impl()

int64_t retro_vfs_file_size_impl ( libretro_vfs_implementation_file stream)
Here is the caller graph for this function:

◆ retro_vfs_file_tell_impl()

int64_t retro_vfs_file_tell_impl ( libretro_vfs_implementation_file stream)
Here is the caller graph for this function:

◆ retro_vfs_file_truncate_impl()

int64_t retro_vfs_file_truncate_impl ( libretro_vfs_implementation_file stream,
int64_t  length 
)
Here is the caller graph for this function:

◆ retro_vfs_file_write_impl()

int64_t retro_vfs_file_write_impl ( libretro_vfs_implementation_file stream,
const void s,
uint64_t  len 
)
Here is the call graph for this function:
Here is the caller graph for this function: