forked from len0rd/rockbox
close() now does not truncate the file.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@2821 a1c6a512-1295-4272-9138-f99709370657
This commit is contained in:
parent
7912a6d39d
commit
11a09e632c
3 changed files with 57 additions and 24 deletions
|
@ -79,8 +79,9 @@ extern int fat_create_file(char* name,
|
|||
extern int fat_readwrite(struct fat_file *ent, int sectorcount,
|
||||
void* buf, bool write );
|
||||
extern int fat_closewrite(struct fat_file *ent, int size);
|
||||
extern int fat_seek(struct fat_file *ent, int sector );
|
||||
extern int fat_seek(struct fat_file *ent, unsigned int sector );
|
||||
extern int fat_remove(struct fat_file *ent);
|
||||
extern int fat_truncate(struct fat_file *ent);
|
||||
|
||||
extern int fat_opendir(struct fat_dir *ent, unsigned int currdir);
|
||||
extern int fat_getnext(struct fat_dir *ent, struct fat_direntry *entry);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue