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 12:15:54 -06:00
committed by patacongo
parent 5c748cea2a
commit a2f6dc9b7c
10 changed files with 27 additions and 36 deletions
+1 -1
View File
@@ -1,3 +1,4 @@
"__errno","errno.h","defined(CONFIG_BUILD_FLAT)","FAR int *"
"abort","stdlib.h","","void"
"abs","stdlib.h","","int","int"
"aio_error","aio.h","defined(CONFIG_FS_AIO)","int","FAR struct aiocb *"
@@ -47,7 +48,6 @@
"fsetpos","stdio.h","CONFIG_NFILE_STREAMS > 0","int","FAR FILE *","FAR fpos_t *"
"ftell","stdio.h","CONFIG_NFILE_STREAMS > 0","long","FAR FILE *"
"fwrite","stdio.h","CONFIG_NFILE_STREAMS > 0","size_t","FAR const void *","size_t","size_t","FAR FILE *"
"get_errno_ptr","errno.h","defined(CONFIG_BUILD_FLAT)","FAR int *"
"getcwd","unistd.h","!defined(CONFIG_DISABLE_ENVIRON)","FAR char","FAR char *","size_t"
"gethostname","unistd.h","","int","FAR char*","size_t"
"getopt","unistd.h","","int","int","FAR char *const[]","FAR const char *"
1 abort __errno stdlib.h errno.h defined(CONFIG_BUILD_FLAT) void FAR int *
1 __errno errno.h defined(CONFIG_BUILD_FLAT) FAR int *
2 abort abort stdlib.h stdlib.h void void
3 abs abs stdlib.h stdlib.h int int
4 aio_error aio_error aio.h aio.h defined(CONFIG_FS_AIO) defined(CONFIG_FS_AIO) int int
48 fsetpos fsetpos stdio.h stdio.h CONFIG_NFILE_STREAMS > 0 CONFIG_NFILE_STREAMS > 0 int int
49 ftell ftell stdio.h stdio.h CONFIG_NFILE_STREAMS > 0 CONFIG_NFILE_STREAMS > 0 long long
50 fwrite fwrite stdio.h stdio.h CONFIG_NFILE_STREAMS > 0 CONFIG_NFILE_STREAMS > 0 size_t size_t
get_errno_ptr errno.h defined(CONFIG_BUILD_FLAT) FAR int *
51 getcwd getcwd unistd.h unistd.h !defined(CONFIG_DISABLE_ENVIRON) !defined(CONFIG_DISABLE_ENVIRON) FAR char FAR char
52 gethostname gethostname unistd.h unistd.h int int
53 getopt getopt unistd.h unistd.h int int