errno: Rename get_errno_ptr to __errno

Inrease the compatiblity with the third party library(e.g. newlib)

Signed-off-by: Xiang Xiao <xiaoxiang@xiaomi.com>
This commit is contained in:
Xiang Xiao
2020-05-03 20:02:48 +08:00
committed by patacongo
parent 5c748cea2a
commit a2f6dc9b7c
10 changed files with 27 additions and 36 deletions
-1
View File
@@ -30,7 +30,6 @@
"fsync","unistd.h","!defined(CONFIG_DISABLE_MOUNTPOINT)","int","int"
"ftruncate","unistd.h","!defined(CONFIG_DISABLE_MOUNTPOINT)","int","int","off_t"
"get_errno","errno.h","!defined(__DIRECT_ERRNO_ACCESS)","int"
"get_errno_ptr","errno.h","defined(__DIRECT_ERRNO_ACCESS)","FAR int*"
"getenv","stdlib.h","!defined(CONFIG_DISABLE_ENVIRON)","FAR char*","FAR const char*"
"getgid","unistd.h","defined(CONFIG_SCHED_USER_IDENTITY)","gid_t"
"getitimer","sys/time.h","!defined(CONFIG_DISABLE_POSIX_TIMERS)","int","int","FAR struct itimerval *"
1 _exit unistd.h void int
30 fsync unistd.h !defined(CONFIG_DISABLE_MOUNTPOINT) int int
31 ftruncate unistd.h !defined(CONFIG_DISABLE_MOUNTPOINT) int int
32 get_errno errno.h !defined(__DIRECT_ERRNO_ACCESS) int
get_errno_ptr errno.h defined(__DIRECT_ERRNO_ACCESS) FAR int*
33 getenv stdlib.h !defined(CONFIG_DISABLE_ENVIRON) FAR char* FAR const char*
34 getgid unistd.h defined(CONFIG_SCHED_USER_IDENTITY) gid_t
35 getitimer sys/time.h !defined(CONFIG_DISABLE_POSIX_TIMERS) int int