diff options
author | Christopher Haster <chaster@utexas.edu> | 2017-03-20 06:00:56 +0300 |
---|---|---|
committer | Christopher Haster <chaster@utexas.edu> | 2017-03-20 06:25:36 +0300 |
commit | ed674e8414273b9989c131f84087422e65de6feb (patch) | |
tree | fd472ba9b2d4b753225f5047a48a4b21bf0ab610 /lfs_config.h | |
parent | 53674cb3bc2ce2ec55f92c61b54a46f369d3726e (diff) |
Added support for the basic file operation
Missing seek, but these are the core filesystem operations
provided by this filesystem:
- Read a file
- Append to a file
Additional work is needed around freeing the previous file, so
right now it's limited to appending to existing files, a real
append only filesystem. Unfortunately the overhead of the free
list with multiple open files is becoming tricky.
Diffstat (limited to 'lfs_config.h')
-rw-r--r-- | lfs_config.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/lfs_config.h b/lfs_config.h index 973b61c..83d9384 100644 --- a/lfs_config.h +++ b/lfs_config.h @@ -15,6 +15,7 @@ typedef uint32_t lfs_word_t; typedef uint16_t lfs_hword_t; typedef lfs_word_t lfs_size_t; +typedef int32_t lfs_ssize_t; typedef lfs_word_t lfs_off_t; typedef int lfs_error_t; |