lib: posix: fs: Convert to use generic fdtable

All the handling of POSIX file descriptors is now done by fdtable.c.
fs.c still manages its own table of file structures of the underlying
fs lib.

Signed-off-by: Paul Sokolovsky <paul.sokolovsky@linaro.org>
This commit is contained in:
Paul Sokolovsky 2018-10-08 14:01:46 +03:00 committed by Carles Cufí
commit b6e58d54c9
2 changed files with 83 additions and 124 deletions

View file

@ -16,7 +16,7 @@ extern "C" {
#ifdef CONFIG_POSIX_FS
#include <fs.h>
typedef struct fs_dir_t DIR;
typedef void DIR;
struct dirent {
unsigned int d_ino;