sdk-core v2026.11.05
PS2 SDK - core tier (build-critical EE/IOP modules)
Loading...
Searching...
No Matches
fat_write.h
Go to the documentation of this file.
1
5#ifndef _FAT_WRITE_H
6#define _FAT_WRITE_H 1
7
8extern int fat_createFile(fat_driver *fatd, const char *fname, char directory, char escapeNotExist, unsigned int *cluster, unsigned int *sfnSector, int *sfnOffset);
9extern int fat_deleteFile(fat_driver *fatd, const char *fname, char directory);
10extern int fat_truncateFile(fat_driver *fatd, unsigned int cluster, unsigned int sfnSector, int sfnOffset);
11extern int fat_renameFile(fat_driver *fatd, fat_dir *fatdir, const char *fname);
12extern int fat_writeFile(fat_driver *fatd, fat_dir *fatDir, int *updateClusterIndices, unsigned int filePos, unsigned char *buffer, int size);
13extern int fat_updateSfn(fat_driver *fatd, int size, unsigned int sfnSector, int sfnOffset);
14
15extern int fat_allocSector(fat_driver *fatd, unsigned int sector, unsigned char **buf);
16extern int fat_writeSector(fat_driver *fatd, unsigned int sector);
17extern int fat_flushSectors(fat_driver *fatd);
18#endif /* _FAT_WRITE_H */