lib: fs: implement mounting filesystems; reading, writing from files
This commit is contained in:
18
lib/libfs/include/fs/status.h
Normal file
18
lib/libfs/include/fs/status.h
Normal file
@@ -0,0 +1,18 @@
|
||||
#ifndef FS_STATUS_H_
|
||||
#define FS_STATUS_H_
|
||||
|
||||
enum fs_status {
|
||||
FS_SUCCESS = 0,
|
||||
FS_ERR_NO_ENTRY,
|
||||
FS_ERR_NO_MEMORY,
|
||||
FS_ERR_INVALID_ARGUMENT,
|
||||
FS_ERR_NOT_IMPLEMENTED,
|
||||
FS_ERR_IS_DIRECTORY,
|
||||
FS_ERR_NOT_DIRECTORY,
|
||||
FS_ERR_BAD_STATE,
|
||||
FS_ERR_INTERNAL_FAILURE,
|
||||
};
|
||||
|
||||
extern int fs_status_to_errno(enum fs_status status);
|
||||
|
||||
#endif
|
||||
Reference in New Issue
Block a user