diff options
author | Keith Packard <keithp@keithp.com> | 2013-03-30 01:32:30 -0700 |
---|---|---|
committer | Keith Packard <keithp@keithp.com> | 2013-03-30 01:32:30 -0700 |
commit | b3d8956df3a3ecb3918b5db4d78b057d68541c33 (patch) | |
tree | 57d8ea94fb8b46d36ac7f0973b5d226214658440 /src/drivers/ao_fat.h | |
parent | 7455a892e8bf5402e7ff2c4bd2ddad05dfe76638 (diff) |
altos: Export ao_fat_sync and ao_fat_full functions
ao_fat_sync() flushes the bufio data to disk along with any fsinfo
changes. ao_fat_full() returns whether the file system is full.
Signed-off-by: Keith Packard <keithp@keithp.com>
Diffstat (limited to 'src/drivers/ao_fat.h')
-rw-r--r-- | src/drivers/ao_fat.h | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/src/drivers/ao_fat.h b/src/drivers/ao_fat.h index cfe98a76..e460c22a 100644 --- a/src/drivers/ao_fat.h +++ b/src/drivers/ao_fat.h @@ -48,6 +48,12 @@ ao_fat_init(void); #define AO_FAT_EFBIG 27 #define AO_FAT_ENOSPC 28 +void +ao_fat_sync(void); + +int8_t +ao_fat_full(void); + int8_t ao_fat_open(char name[11], uint8_t mode); |