diff options
| author | Keith Packard <keithp@keithp.com> | 2013-03-31 16:10:33 -0700 |
|---|---|---|
| committer | Keith Packard <keithp@keithp.com> | 2013-03-31 16:10:33 -0700 |
| commit | 659a6915f5ba5129096e55ccc04c975d216546ae (patch) | |
| tree | c554a53fd82a6620b66b760bb9caeaf54607aaea /src/drivers/ao_fat.h | |
| parent | 182ceaac7d91dc6e9ebac6455d5de0c10687796b (diff) | |
altos: Make ao_fat_readdir return real error values instead of 1/0
This way, we can distinguish between 'something bad happened' and
'you're at the end of the directory'.
Signed-off-by: Keith Packard <keithp@keithp.com>
Diffstat (limited to 'src/drivers/ao_fat.h')
| -rw-r--r-- | src/drivers/ao_fat.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/drivers/ao_fat.h b/src/drivers/ao_fat.h index 36aec7df..fe154cdf 100644 --- 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_EDIREOF 29 /* ao_fat_setup return values */ #define AO_FAT_FILESYSTEM_SUCCESS 0 |
