diff options
author | Björn Stenberg <bjorn@haxx.se> | 2002-11-11 10:21:51 +0000 |
---|---|---|
committer | Björn Stenberg <bjorn@haxx.se> | 2002-11-11 10:21:51 +0000 |
commit | 11a09e632ceb5513aad54aa6b2c6031bb28b4533 (patch) | |
tree | e0f1a0d93d40dbeab2c0e20fa240880e5ad67d0c /firmware/drivers/fat.h | |
parent | 7912a6d39d73a73022feee41ba5fce8ee3ae6019 (diff) | |
download | rockbox-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.h | 3 |
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, | |||
79 | extern int fat_readwrite(struct fat_file *ent, int sectorcount, | 79 | extern int fat_readwrite(struct fat_file *ent, int sectorcount, |
80 | void* buf, bool write ); | 80 | void* buf, bool write ); |
81 | extern int fat_closewrite(struct fat_file *ent, int size); | 81 | extern int fat_closewrite(struct fat_file *ent, int size); |
82 | extern int fat_seek(struct fat_file *ent, int sector ); | 82 | extern int fat_seek(struct fat_file *ent, unsigned int sector ); |
83 | extern int fat_remove(struct fat_file *ent); | 83 | extern int fat_remove(struct fat_file *ent); |
84 | extern int fat_truncate(struct fat_file *ent); | ||
84 | 85 | ||
85 | extern int fat_opendir(struct fat_dir *ent, unsigned int currdir); | 86 | extern int fat_opendir(struct fat_dir *ent, unsigned int currdir); |
86 | extern int fat_getnext(struct fat_dir *ent, struct fat_direntry *entry); | 87 | extern int fat_getnext(struct fat_dir *ent, struct fat_direntry *entry); |