浏览代码

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

Maxime Vincent 5 年之前
父节点
当前提交
6538c5d5f4
共有 1 个文件被更改,包括 1 次插入0 次删除
  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