Browse Source

Add LFS_READYONLY define, to allow smaller builds providing read-only mode

Maxime Vincent 5 years ago
parent
commit
6538c5d5f4
1 changed files with 1 additions and 0 deletions
  1. 1 0
      lfs.h

+ 1 - 0
lfs.h

@@ -77,6 +77,7 @@ enum lfs_error {
     LFS_ERR_EXIST       = -17,  // Entry already exists
     LFS_ERR_NOTDIR      = -20,  // Entry is not a dir
     LFS_ERR_ISDIR       = -21,  // Entry is a dir
+    LFS_ERR_NOSYS       = -38,  // Function not implemened
     LFS_ERR_NOTEMPTY    = -39,  // Dir is not empty
     LFS_ERR_BADF        = -9,   // Bad file number
     LFS_ERR_FBIG        = -27,  // File too large