projects
/
fw
/
altos
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Merge branch 'master' of ssh://git.gag.com/scm/git/fw/altos
[fw/altos]
/
src
/
drivers
/
ao_fat.h
diff --git
a/src/drivers/ao_fat.h
b/src/drivers/ao_fat.h
index 36aec7dfded5bf299b5760f6364f5fce7e79ab39..01435363bf0009a28f74f26750f09a84888200e4 100644
(file)
--- a/
src/drivers/ao_fat.h
+++ b/
src/drivers/ao_fat.h
@@
-48,6
+48,7
@@
ao_fat_init(void);
#define AO_FAT_EMFILE 24
#define AO_FAT_EFBIG 27
#define AO_FAT_ENOSPC 28
#define AO_FAT_EMFILE 24
#define AO_FAT_EFBIG 27
#define AO_FAT_ENOSPC 28
+#define AO_FAT_EDIREOF 29
/* ao_fat_setup return values */
#define AO_FAT_FILESYSTEM_SUCCESS 0
/* ao_fat_setup return values */
#define AO_FAT_FILESYSTEM_SUCCESS 0
@@
-80,20
+81,20
@@
int8_t
ao_fat_creat(char name[11]);
int8_t
ao_fat_creat(char name[11]);
int8_t
-ao_fat_close(
voi
d);
+ao_fat_close(
int8_t f
d);
int
int
-ao_fat_read(void *dest, int len);
+ao_fat_read(
int8_t fd,
void *dest, int len);
int
int
-ao_fat_write(void *src, int len);
+ao_fat_write(
int8_t fd,
void *src, int len);
#define AO_FAT_SEEK_SET 0
#define AO_FAT_SEEK_CUR 1
#define AO_FAT_SEEK_END 2
int32_t
#define AO_FAT_SEEK_SET 0
#define AO_FAT_SEEK_CUR 1
#define AO_FAT_SEEK_END 2
int32_t
-ao_fat_seek(int32_t pos, uint8_t whence);
+ao_fat_seek(int
8_t fd, int
32_t pos, uint8_t whence);
int8_t
ao_fat_unlink(char name[11]);
int8_t
ao_fat_unlink(char name[11]);