fs: Reimplement file_open to not depend on nx_open

on the other hand, open/nx_open call file_open instead

Signed-off-by: Xiang Xiao <xiaoxiang@xiaomi.com>
Change-Id: I66990a77cdeb6ff18f7bf48a65bbc7b701dad552
This commit is contained in:
Xiang Xiao
2020-10-01 19:21:36 +08:00
committed by Abdelatif Guettouche
parent 7a953bb154
commit 0032ddb8bf
6 changed files with 103 additions and 159 deletions
+2
View File
@@ -835,6 +835,8 @@ int nx_dup2(int fd1, int fd2);
*
****************************************************************************/
int file_vopen(FAR struct file *filep,
FAR const char *path, int oflags, va_list ap);
int file_open(FAR struct file *filep, FAR const char *path, int oflags, ...);
/****************************************************************************