fs: Implement lstat function

specified here:
https://pubs.opengroup.org/onlinepubs/009695399/functions/lstat.html

Signed-off-by: Xiang Xiao <xiaoxiang@xiaomi.com>
Change-Id: Iefc23a02d425ff84fa4027aea7da1181b01eced7
This commit is contained in:
Xiang Xiao
2020-06-22 16:44:32 +08:00
committed by patacongo
parent b938348cdb
commit b598ab43d7
8 changed files with 74 additions and 50 deletions
+1
View File
@@ -45,6 +45,7 @@
"link","unistd.h","defined(CONFIG_PSEUDOFS_SOFTLINKS)","int","FAR const char *","FAR const char *"
"listen","sys/socket.h","defined(CONFIG_NET)","int","int","int"
"lseek","unistd.h","","off_t","int","off_t","int"
"lstat","sys/stat.h","","int","FAR const char *","FAR struct stat *"
"mkdir","sys/stat.h","!defined(CONFIG_DISABLE_MOUNTPOINT)","int","FAR const char *","mode_t"
"mmap","sys/mman.h","","FAR void *","FAR void *","size_t","int","int","int","off_t"
"modhandle","nuttx/module.h","defined(CONFIG_MODULE)","FAR void *","FAR const char *"
1 _exit unistd.h void int
45 link unistd.h defined(CONFIG_PSEUDOFS_SOFTLINKS) int FAR const char *
46 listen sys/socket.h defined(CONFIG_NET) int int
47 lseek unistd.h off_t int
48 lstat sys/stat.h int FAR const char *
49 mkdir sys/stat.h !defined(CONFIG_DISABLE_MOUNTPOINT) int FAR const char *
50 mmap sys/mman.h FAR void * FAR void *
51 modhandle nuttx/module.h defined(CONFIG_MODULE) FAR void * FAR const char *