libc.csv: Add more missing interface

libc.csv adds the strlcpy, getrandom, task_tls_alloc, and fork interfaces

Signed-off-by: zhuanglin <zhuanglin@xiaomi.com>
This commit is contained in:
zhuanglin
2024-03-19 09:41:49 +08:00
committed by archer
parent 8d776ffbe0
commit 07507669ba
+5
View File
@@ -70,6 +70,7 @@
"flockfile","stdio.h","!defined(CONFIG_FILE_STREAM)","void","FAR FILE *"
"fnmatch","fnmatch.h","","int","FAR const char *","FAR const char *","int"
"fopen","stdio.h","defined(CONFIG_FILE_STREAM)","FAR FILE *","FAR const char *","FAR const char *"
"fork","unistd.h","!defined(CONFIG_BUILD_KERNEL) && defined(CONFIG_ARCH_HAVE_FORK)","pid_t"
"fprintf","stdio.h","defined(CONFIG_FILE_STREAM)","int","FAR FILE *","FAR const IPTR char *","..."
"fputc","stdio.h","defined(CONFIG_FILE_STREAM)","int","int","FAR FILE *"
"fputs","stdio.h","defined(CONFIG_FILE_STREAM)","int","FAR const IPTR char *","FAR FILE *"
@@ -106,6 +107,7 @@
"getpriority","sys/resource.h","","int","int","id_t"
"getpwnam_r","pwd.h","","int","FAR const char *","FAR struct passwd *","FAR char *","size_t","FAR struct passwd **"
"getpwuid_r","pwd.h","","int","uid_t","FAR struct passwd *","FAR char *","size_t","FAR struct passwd **"
"getrandom","sys/random.h","!defined(CONFIG_BUILD_KERNEL)","ssize_t","FAR void *","size_t","unsigned int"
"gets","stdio.h","defined(CONFIG_FILE_STREAM)","FAR char *","FAR char *"
"gettext","libintl.h","defined(CONFIG_LIBC_LOCALE_GETTEXT)","FAR char *","FAR const char *"
"gettimeofday","sys/time.h","","int","FAR struct timeval *","FAR struct timezone *"
@@ -292,6 +294,7 @@
"strerror","string.h","","FAR char *","int"
"strerror_r","string.h","","int","int","FAR char *","size_t"
"strftime","time.h","","size_t","FAR char *","size_t","FAR const char *","FAR const struct tm *"
"strlcpy","string.h","","size_t","FAR char *","FAR const char *","size_t"
"strlen","string.h","","size_t","FAR const char *"
"strncasecmp","strings.h","","int","FAR const char *","FAR const char *","size_t"
"strncat","string.h","","FAR char *","FAR char *","FAR const char *","size_t"
@@ -320,6 +323,8 @@
"swprintf","wchar.h","","int","FAR wchar_t *","size_t","FAR const wchar_t *","..."
"sysconf","unistd.h","","long","int"
"syslog","syslog.h","","void","int","FAR const IPTR char *","..."
"task_testcancel","sched.h","defined(CONFIG_CANCELLATION_POINTS)","void"
"task_tls_alloc","nuttx/tls.h","!defined(CONFIG_BUILD_KERNEL) && CONFIG_TLS_TASK_NELEM > 0","int","tls_dtor_t"
"task_tls_get_value","nuttx/tls.h","CONFIG_TLS_TASK_NELEM > 0","uintptr_t","int"
"task_tls_set_value","nuttx/tls.h","CONFIG_TLS_TASK_NELEM > 0","int","int","uintptr_t"
"tcflush","termios.h","","int","int","int"
1 __assert assert.h void FAR const char * int FAR const char *
70 flockfile stdio.h !defined(CONFIG_FILE_STREAM) void FAR FILE *
71 fnmatch fnmatch.h int FAR const char * FAR const char * int
72 fopen stdio.h defined(CONFIG_FILE_STREAM) FAR FILE * FAR const char * FAR const char *
73 fork unistd.h !defined(CONFIG_BUILD_KERNEL) && defined(CONFIG_ARCH_HAVE_FORK) pid_t
74 fprintf stdio.h defined(CONFIG_FILE_STREAM) int FAR FILE * FAR const IPTR char * ...
75 fputc stdio.h defined(CONFIG_FILE_STREAM) int int FAR FILE *
76 fputs stdio.h defined(CONFIG_FILE_STREAM) int FAR const IPTR char * FAR FILE *
107 getpriority sys/resource.h int int id_t
108 getpwnam_r pwd.h int FAR const char * FAR struct passwd * FAR char *
109 getpwuid_r pwd.h int uid_t FAR struct passwd * FAR char *
110 getrandom sys/random.h !defined(CONFIG_BUILD_KERNEL) ssize_t FAR void * size_t unsigned int
111 gets stdio.h defined(CONFIG_FILE_STREAM) FAR char * FAR char *
112 gettext libintl.h defined(CONFIG_LIBC_LOCALE_GETTEXT) FAR char * FAR const char *
113 gettimeofday sys/time.h int FAR struct timeval * FAR struct timezone *
294 strerror string.h FAR char * int
295 strerror_r string.h int int FAR char * size_t
296 strftime time.h size_t FAR char * size_t FAR const char *
297 strlcpy string.h size_t FAR char * FAR const char * size_t
298 strlen string.h size_t FAR const char *
299 strncasecmp strings.h int FAR const char * FAR const char * size_t
300 strncat string.h FAR char * FAR char * FAR const char * size_t
323 swprintf wchar.h int FAR wchar_t * size_t FAR const wchar_t *
324 sysconf unistd.h long int
325 syslog syslog.h void int FAR const IPTR char * ...
326 task_testcancel sched.h defined(CONFIG_CANCELLATION_POINTS) void
327 task_tls_alloc nuttx/tls.h !defined(CONFIG_BUILD_KERNEL) && CONFIG_TLS_TASK_NELEM > 0 int tls_dtor_t
328 task_tls_get_value nuttx/tls.h CONFIG_TLS_TASK_NELEM > 0 uintptr_t int
329 task_tls_set_value nuttx/tls.h CONFIG_TLS_TASK_NELEM > 0 int int uintptr_t
330 tcflush termios.h int int int