stdio: Merge fs_fdopen into fdopen to simplify the code logi

since fs_fdopen could avoid call the kernel specific function now

Signed-off-by: Xiang Xiao <xiaoxiang@xiaomi.com>
This commit is contained in:
Xiang Xiao
2023-10-15 15:47:12 +08:00
committed by archer
parent 62c2b1abba
commit b1c8c84e81
7 changed files with 72 additions and 265 deletions
-1
View File
@@ -29,7 +29,6 @@
"fchmod","sys/stat.h","","int","int","mode_t"
"fchown","unistd.h","","int","int","uid_t","gid_t"
"fcntl","fcntl.h","","int","int","int","...","int"
"fs_fdopen","nuttx/fs/fs.h","defined(CONFIG_FILE_STREAM)","int","int","int","FAR struct tcb_s *","FAR struct file_struct **"
"fstat","sys/stat.h","","int","int","FAR struct stat *"
"fstatfs","sys/statfs.h","","int","int","FAR struct statfs *"
"fsync","unistd.h","","int","int"
1 _assert assert.h void FAR const char * int FAR const char * FAR void *
29 fchmod sys/stat.h int int mode_t
30 fchown unistd.h int int uid_t gid_t
31 fcntl fcntl.h int int int ... int
fs_fdopen nuttx/fs/fs.h defined(CONFIG_FILE_STREAM) int int int FAR struct tcb_s * FAR struct file_struct **
32 fstat sys/stat.h int int FAR struct stat *
33 fstatfs sys/statfs.h int int FAR struct statfs *
34 fsync unistd.h int int