summaryrefslogtreecommitdiff
path: root/firmware/drivers/fat.h
diff options
context:
space:
mode:
authorBjörn Stenberg <bjorn@haxx.se>2002-11-11 10:21:51 +0000
committerBjörn Stenberg <bjorn@haxx.se>2002-11-11 10:21:51 +0000
commit11a09e632ceb5513aad54aa6b2c6031bb28b4533 (patch)
treee0f1a0d93d40dbeab2c0e20fa240880e5ad67d0c /firmware/drivers/fat.h
parent7912a6d39d73a73022feee41ba5fce8ee3ae6019 (diff)
downloadrockbox-11a09e632ceb5513aad54aa6b2c6031bb28b4533.tar.gz
rockbox-11a09e632ceb5513aad54aa6b2c6031bb28b4533.zip
close() now does not truncate the file.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@2821 a1c6a512-1295-4272-9138-f99709370657
Diffstat (limited to 'firmware/drivers/fat.h')
-rw-r--r--firmware/drivers/fat.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/firmware/drivers/fat.h b/firmware/drivers/fat.h
index 6ed68ad8d8..b23d8dfa08 100644
--- a/firmware/drivers/fat.h
+++ b/firmware/drivers/fat.h
@@ -79,8 +79,9 @@ extern int fat_create_file(char* name,
79extern int fat_readwrite(struct fat_file *ent, int sectorcount, 79extern int fat_readwrite(struct fat_file *ent, int sectorcount,
80 void* buf, bool write ); 80 void* buf, bool write );
81extern int fat_closewrite(struct fat_file *ent, int size); 81extern int fat_closewrite(struct fat_file *ent, int size);
82extern int fat_seek(struct fat_file *ent, int sector ); 82extern int fat_seek(struct fat_file *ent, unsigned int sector );
83extern int fat_remove(struct fat_file *ent); 83extern int fat_remove(struct fat_file *ent);
84extern int fat_truncate(struct fat_file *ent);
84 85
85extern int fat_opendir(struct fat_dir *ent, unsigned int currdir); 86extern int fat_opendir(struct fat_dir *ent, unsigned int currdir);
86extern int fat_getnext(struct fat_dir *ent, struct fat_direntry *entry); 87extern int fat_getnext(struct fat_dir *ent, struct fat_direntry *entry);