From c7a4720a51a306db65aad549d1f92dfe184efcdc Mon Sep 17 00:00:00 2001 From: Pavel Pisa Date: Thu, 15 Aug 2019 14:35:00 -0600 Subject: [PATCH] libs/libc/libc.csv: Add some missing C library functions. --- libs/libc/libc.csv | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/libs/libc/libc.csv b/libs/libc/libc.csv index 19e0938851..2b615da7f5 100644 --- a/libs/libc/libc.csv +++ b/libs/libc/libc.csv @@ -42,10 +42,12 @@ "fputc","stdio.h","CONFIG_NFILE_STREAMS > 0","int","int c","FAR FILE *" "fputs","stdio.h","CONFIG_NFILE_STREAMS > 0","int","FAR const char *","FAR FILE *" "fread","stdio.h","CONFIG_NFILE_STREAMS > 0","size_t","FAR void *","size_t","size_t","FAR FILE *" +"free","stdlib.h","","void","FAR void *" "fseek","stdio.h","CONFIG_NFILE_STREAMS > 0","int","FAR FILE *","long int","int" "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 *" @@ -79,6 +81,7 @@ "lib_dumpbuffer","debug.h","","void","FAR const char *","FAR const uint8_t *","unsigned int" "lio_listio","aio.h","defined(CONFIG_FS_AIO)","int","int","FAR struct aiocb *const []|FAR struct aiocb *const *","int","FAR struct sigevent *" "llabs","stdlib.h","defined(CONFIG_HAVE_LONG_LONG)","long long int","long long int" +"malloc","stdlib.h","","FAR void *","size_t" "match","nuttx/lib/regex.h","","int","FAR const char *","FAR const char *" "mbrtowc","wchar.h","defined(CONFIG_LIBC_WCHAR)","size_t","wchar_t *","FAR const char *","size_t","mbstate_t *" "mbsnrtowcs","wchar.h","defined(CONFIG_LIBC_WCHAR)","size_t","FAR wchar_t *","FAR const char **","size_t","size_t","mbstate_t *" @@ -117,6 +120,7 @@ "pthread_condattr_init","pthread.h","!defined(CONFIG_DISABLE_PTHREAD)","int","FAR pthread_condattr_t *" "pthread_cond_destroy","pthread.h","!defined(CONFIG_DISABLE_PTHREAD)","int","FAR pthread_cond_t*" "pthread_cond_init","pthread.h","!defined(CONFIG_DISABLE_PTHREAD)","int","FAR pthread_cond_t*","FAR const pthread_condattr_t*" +"pthread_mutex_lock","pthread.h","!defined(CONFIG_DISABLE_PTHREAD)","int","FAR pthread_mutex_t*" "pthread_mutexattr_destroy","pthread.h","!defined(CONFIG_DISABLE_PTHREAD)","int","FAR pthread_mutexattr_t *" "pthread_mutexattr_getpshared","pthread.h","!defined(CONFIG_DISABLE_PTHREAD)","int","FAR pthread_mutexattr_t *","FAR int *" "pthread_mutexattr_gettype","pthread.h","!defined(CONFIG_DISABLE_PTHREAD) && defined(CONFIG_PTHREAD_MUTEX_TYPES)","int","FAR const pthread_mutexattr_t *","int *" @@ -129,6 +133,7 @@ "qsort","stdlib.h","","void","void *","size_t","size_t","int(*)(const void *","FAR const void *)" "rand","stdlib.h","","int" "readdir_r","dirent.h","","int","FAR DIR *","FAR struct dirent *","FAR struct dirent **" +"realloc","stdlib.h","","FAR void *","FAR void *","size_t" "sched_get_priority_max","sched.h","","int","int" "sched_get_priority_min","sched.h","","int","int" "sem_getvalue","semaphore.h","","int","FAR sem_t *","FAR int *"