35 #include <sys/reent.h> 42 #define FILE_MAX_SIZE ((uint32_t)0xFFFFFFFF) // 4GiB - 1B 80 off_t
_FAT_seek_r (
struct _reent *
r,
void *fd, off_t pos,
int dir);
82 int _FAT_fstat_r (
struct _reent *
r,
void *fd,
struct stat *st);
86 int _FAT_link_r (
struct _reent *
r,
const char *existing,
const char *newLink);
92 int _FAT_rename_r (
struct _reent *
r,
const char *oldName,
const char *newName);
struct _FILE_STRUCT * nextOpenFile
Definition: fatfile.h:62
GLuint const GLchar * name
Definition: glext.h:6671
const GLvoid * ptr
Definition: nx_glsym.h:242
int32_t s32
32bit signed integer
Definition: gctypes.h:24
GLenum mode
Definition: glext.h:6857
struct _FILE_STRUCT * prevOpenFile
Definition: fatfile.h:61
ssize_t _FAT_read_r(struct _reent *r, void *fd, char *ptr, size_t len)
Definition: fatfile.c:444
int _FAT_chdir_r(struct _reent *r, const char *name)
Definition: fatdir.c:186
int _FAT_ftruncate_r(struct _reent *r, void *fd, off_t len)
Definition: fatfile.c:1103
GLdouble GLdouble GLdouble r
Definition: glext.h:6406
GLsizei const GLchar ** path
Definition: glext.h:7901
GLenum GLsizei len
Definition: glext.h:7389
PARTITION * partition
Definition: fatfile.h:60
unsigned char byte
Definition: jsonsax_full.c:47
DIR_ENTRY_POSITION dirEntryStart
Definition: fatfile.h:58
FILE_POSITION appendPosition
Definition: fatfile.h:57
uint32_t startCluster
Definition: fatfile.h:54
int _FAT_rename_r(struct _reent *r, const char *oldName, const char *newName)
Definition: fatdir.c:223
uint32_t sec_t
Definition: iosuhax_disc_interface.h:40
bool modified
Definition: fatfile.h:67
bool inUse
Definition: fatfile.h:66
int _FAT_unlink_r(struct _reent *r, const char *name)
Definition: fatdir.c:93
uint32_t currentPosition
Definition: fatfile.h:55
int _FAT_open_r(struct _reent *r, void *fileStruct, const char *path, int flags, int mode)
Definition: fatfile.c:127
Definition: partition.h:52
ssize_t _FAT_write_r(struct _reent *r, void *fd, const char *ptr, size_t len)
Definition: fatfile.c:738
bool write
Definition: fatfile.h:64
int _FAT_stat_r(struct _reent *r, const char *path, struct stat *st)
Definition: fatdir.c:48
off_t _FAT_seek_r(struct _reent *r, void *fd, off_t pos, int dir)
Definition: fatfile.c:966
int _FAT_link_r(struct _reent *r, const char *existing, const char *newLink)
Definition: fatdir.c:87
bool append
Definition: fatfile.h:65
int _FAT_fstat_r(struct _reent *r, void *fd, struct stat *st)
Definition: fatfile.c:1068
DIR_ENTRY_POSITION dirEntryEnd
Definition: fatfile.h:59
Definition: civetweb.c:1024
bool read
Definition: fatfile.h:63
GLbitfield flags
Definition: glext.h:7828
uint32_t u32
32bit unsigned integer
Definition: gctypes.h:19
Definition: directory.h:65
uint32_t filesize
Definition: fatfile.h:53
unsigned int uint32_t
Definition: stdint.h:126
int _FAT_close_r(struct _reent *r, void *fd)
Definition: fatfile.c:407
int _FAT_fsync_r(struct _reent *r, void *fd)
Definition: fatfile.c:1215
FILE_POSITION rwPosition
Definition: fatfile.h:56
int _FAT_syncToDisc(FILE_STRUCT *file)
Definition: fatfile.c:359