sdk-core v2026.11.05
PS2 SDK - core tier (build-critical EE/IOP modules)
Loading...
Searching...
No Matches
fat_write.h File Reference

Go to the source code of this file.

Functions

int fat_createFile (fat_driver *fatd, const char *fname, char directory, char escapeNotExist, unsigned int *cluster, unsigned int *sfnSector, int *sfnOffset)
int fat_deleteFile (fat_driver *fatd, const char *fname, char directory)
int fat_truncateFile (fat_driver *fatd, unsigned int cluster, unsigned int sfnSector, int sfnOffset)
int fat_renameFile (fat_driver *fatd, fat_dir *fatdir, const char *fname)
int fat_writeFile (fat_driver *fatd, fat_dir *fatDir, int *updateClusterIndices, unsigned int filePos, unsigned char *buffer, int size)
int fat_updateSfn (fat_driver *fatd, int size, unsigned int sfnSector, int sfnOffset)
int fat_allocSector (fat_driver *fatd, unsigned int sector, unsigned char **buf)
int fat_writeSector (fat_driver *fatd, unsigned int sector)
int fat_flushSectors (fat_driver *fatd)

Function Documentation

◆ fat_createFile()

int fat_createFile ( fat_driver * fatd,
const char * fname,
char directory,
char escapeNotExist,
unsigned int * cluster,
unsigned int * sfnSector,
int * sfnOffset )
extern

Definition at line 2003 of file fat_write.c.

◆ fat_deleteFile()

int fat_deleteFile ( fat_driver * fatd,
const char * fname,
char directory )
extern

Definition at line 2071 of file fat_write.c.

◆ fat_flushSectors()

int fat_flushSectors ( fat_driver * fatd)
extern

Definition at line 2539 of file fat_write.c.

◆ fat_renameFile()

int fat_renameFile ( fat_driver * fatd,
fat_dir * fatdir,
const char * fname )
extern

Definition at line 2126 of file fat_write.c.

◆ fat_truncateFile()

int fat_truncateFile ( fat_driver * fatd,
unsigned int cluster,
unsigned int sfnSector,
int sfnOffset )
extern

Definition at line 1905 of file fat_write.c.

◆ fat_updateSfn()

int fat_updateSfn ( fat_driver * fatd,
int size,
unsigned int sfnSector,
int sfnOffset )
extern

Definition at line 1957 of file fat_write.c.