From 3c58f5db2be3208648e638e725427f24e0564d91 Mon Sep 17 00:00:00 2001 From: chao an Date: Tue, 21 Mar 2023 14:36:42 +0800 Subject: [PATCH] syscall/libc: add more syscall/libc symbols into csv file Signed-off-by: chao an --- include/stdlib.h | 5 +++ include/sys/syscall_lookup.h | 29 +++++++++++++++++ libs/libc/libc.csv | 62 ++++++++++++++++++++++++++++++++---- syscall/syscall.csv | 20 ++++++++++-- 4 files changed, 106 insertions(+), 10 deletions(-) diff --git a/include/stdlib.h b/include/stdlib.h index 0d98ee9785..cd8f04e998 100644 --- a/include/stdlib.h +++ b/include/stdlib.h @@ -286,6 +286,11 @@ FAR void *bsearch(FAR const void *key, FAR const void *base, size_t nel, FAR const char *getprogname(void); +/* Registers a destructor function to be called by exit() */ + +int __cxa_atexit(CODE void (*func)(FAR void *), FAR void *arg, + FAR void *dso_handle); + #undef EXTERN #if defined(__cplusplus) } diff --git a/include/sys/syscall_lookup.h b/include/sys/syscall_lookup.h index 69446104d6..e376fe2821 100644 --- a/include/sys/syscall_lookup.h +++ b/include/sys/syscall_lookup.h @@ -219,6 +219,9 @@ SYSCALL_LOOKUP(pwrite, 4) SYSCALL_LOOKUP(timerfd_settime, 4) SYSCALL_LOOKUP(timerfd_gettime, 2) #endif +#ifdef CONFIG_SIGNAL_FD + SYSCALL_LOOKUP(signalfd, 3) +#endif /* Board support */ @@ -380,3 +383,29 @@ SYSCALL_LOOKUP(munmap, 2) #ifdef CONFIG_CRYPTO_RANDOM_POOL SYSCALL_LOOKUP(arc4random_buf, 2) #endif + +SYSCALL_LOOKUP(getrandom, 3) +SYSCALL_LOOKUP(nanosleep, 2) + +/* I/O event notification facility */ + +SYSCALL_LOOKUP(epoll_create1, 1) +SYSCALL_LOOKUP(epoll_ctl, 4) +SYSCALL_LOOKUP(epoll_wait, 4) + +/* Identity of Group/User */ + +SYSCALL_LOOKUP(getegid, 1) +SYSCALL_LOOKUP(geteuid, 1) +SYSCALL_LOOKUP(setegid, 1) +SYSCALL_LOOKUP(seteuid, 1) + +/* POSIX timers */ + +SYSCALL_LOOKUP(time, 1) +SYSCALL_LOOKUP(gettimeofday, 2) +SYSCALL_LOOKUP(settimeofday, 2) + +/* ANSI C signal handling */ + +SYSCALL_LOOKUP(signal, 2) diff --git a/libs/libc/libc.csv b/libs/libc/libc.csv index f2ebdbe7b8..7e650dc046 100644 --- a/libs/libc/libc.csv +++ b/libs/libc/libc.csv @@ -1,8 +1,10 @@ +"__assert","assert.h","","void","FAR const char *","int","FAR const char *" +"__cxa_atexit","stdlib.h","","int","FAR CODE void (*)(FAR void *)|FAR void *","FAR void *","FAR void *" "__errno","errno.h","defined(CONFIG_BUILD_FLAT)","FAR int *" "__stack_chk_fail","ssp/ssp.h","defined(CONFIG_STACK_CANARIES)","void","void" "_alert","debug.h","!defined(CONFIG_CPP_HAVE_VARARGS) && defined(CONFIG_DEBUG_ERROR)","void","FAR const char *","..." -"__assert","assert.h","","void","FAR const char *","int","FAR const char *" "_err","debug.h","!defined(CONFIG_CPP_HAVE_VARARGS) && defined(CONFIG_DEBUG_ERROR)","void","FAR const char *","..." +"_exit","unistd.h","","void","int" "_info","debug.h","!defined(CONFIG_CPP_HAVE_VARARGS) && defined(CONFIG_DEBUG_INFO)","void","FAR const char *","..." "_warn","debug.h","!defined(CONFIG_CPP_HAVE_VARARGS) && defined(CONFIG_DEBUG_WARN)","void","FAR const char *","..." "abort","stdlib.h","","void" @@ -11,6 +13,7 @@ "aio_return","aio.h","defined(CONFIG_FS_AIO)","ssize_t","FAR struct aiocb *" "aio_suspend","aio.h","defined(CONFIG_FS_AIO)","int","FAR const struct aiocb * const []|FAR const struct aiocb * const *","int","FAR const struct timespec *" "alarm","unistd.h","!defined(CONFIG_DISABLE_POSIX_TIMERS)","unsigned int","unsigned int" +"alphasort","dirent.h","","int","FAR const struct dirent **","FAR const struct dirent **" "asprintf","stdio.h","","int","FAR char **","FAR const IPTR char *","..." "atof","stdlib.h","defined(CONFIG_HAVE_DOUBLE)","double","FAR const char *" "atoi","stdlib.h","","int","FAR const char *" @@ -23,18 +26,23 @@ "b16sin","fixedmath.h","","b16_t","b16_t" "b16sqr","fixedmath.h","!defined(CONFIG_HAVE_LONG_LONG)","b16_t","b16_t" "basename","libgen.h","","FAR char *","FAR char *" +"bind_textdomain_codeset","libintl.h","defined(CONFIG_LIBC_LOCALE)","FAR char *","FAR const char *","FAR const char *" +"bindtextdomain","libintl.h","defined(CONFIG_LIBC_LOCALE)","FAR char *","FAR const char *","FAR const char *" "btowc","wchar.h","","wint_t","int" "calloc","stdlib.h","","FAR void *","size_t","size_t" "cfgetspeed","termios.h","","speed_t","FAR const struct termios *" "cfsetspeed","termios.h","","int","FAR struct termios *","speed_t" "chdir","unistd.h","!defined(CONFIG_DISABLE_ENVIRON)","int","FAR const char *" "clock","time.h","","clock_t" +"closedir","dirent.h","","int","DIR *" "crc32","nuttx/crc32.h","","uint32_t","FAR const uint8_t *","size_t" "crc32part","nuttx/crc32.h","","uint32_t","FAR const uint8_t *","size_t","uint32_t" "ctime","time.h","","char *","const time_t *" +"daemon","unistd.h","","int","int","int" +"dgettext","libintl.h","defined(CONFIG_LIBC_LOCALE)","FAR char *","FAR const char *","FAR const char *" "dirname","libgen.h","","FAR char *","FAR char *" "dlclose","dlfcn.h","defined(CONFIG_LIBC_DLFCN)","int","FAR void *" -"dlerror","dlfcn.h","defined(CONFIG_LIBC_DLFCN)","FAR char *","void" +"dlerror","dlfcn.h","defined(CONFIG_LIBC_DLFCN)","FAR char *" "dlopen","dlfcn.h","defined(CONFIG_LIBC_DLFCN)","FAR void *","FAR const char *","int" "dlsym","dlfcn.h","defined(CONFIG_LIBC_DLFCN)","FAR void *","FAR void *","FAR const char *" "dlsymtab","dlfcn.h","defined(CONFIG_LIBC_DLFCN)","int","FAR const struct symtab_s *","int" @@ -42,6 +50,8 @@ "dq_remfirst","nuttx/queue.h","","FAR dq_entry_t *","FAR dq_queue_t *" "dq_remlast","nuttx/queue.h","","FAR dq_entry_t *","FAR dq_queue_t *" "ether_ntoa","netinet/ether.h","","FAR char *","FAR const struct ether_addr *" +"execv","unistd.h","","int","FAR const char *","FAR char *const[]|FAR char *const *" +"exit","stdlib.h","","noreturn","int" "fchdir","unistd.h","!defined(CONFIG_DISABLE_ENVIRON)","int","int" "fclose","stdio.h","defined(CONFIG_FILE_STREAM)","int","FAR FILE *" "fdopen","stdio.h","defined(CONFIG_FILE_STREAM)","FAR FILE *","int","FAR const char *" @@ -62,6 +72,7 @@ "fread","stdio.h","defined(CONFIG_FILE_STREAM)","size_t","FAR void *","size_t","size_t","FAR FILE *" "free","stdlib.h","","void","FAR void *" "freeaddrinfo","netdb.h","defined(CONFIG_LIBC_NETDB)","void","FAR struct addrinfo *" +"fscanf","stdio.h","","int","FAR FILE *","FAR const char *","..." "fseek","stdio.h","defined(CONFIG_FILE_STREAM)","int","FAR FILE *","long int","int" "fsetpos","stdio.h","defined(CONFIG_FILE_STREAM)","int","FAR FILE *","FAR fpos_t *" "fstatvfs","sys/statvfs.h","","int","int","FAR struct statvfs *" @@ -71,9 +82,10 @@ "fwrite","stdio.h","defined(CONFIG_FILE_STREAM)","size_t","FAR const void *","size_t","size_t","FAR FILE *" "gai_strerror","netdb.h","defined(CONFIG_LIBC_NETDB)","FAR const char *","int" "getaddrinfo","netdb.h","defined(CONFIG_LIBC_NETDB)","int","FAR const char *","FAR const char *","FAR const struct addrinfo *","FAR struct addrinfo **" +"getc","stdio.h","","int","FAR FILE *" "getcwd","unistd.h","!defined(CONFIG_DISABLE_ENVIRON)","FAR char *","FAR char *","size_t" -"getegid","unistd.h","","gid_t","void" -"geteuid","unistd.h","","uid_t","void" +"getegid","unistd.h","","gid_t" +"geteuid","unistd.h","","uid_t" "gethostbyname","netdb.h","defined(CONFIG_LIBC_NETDB)","FAR struct hostent *","FAR const char *" "gethostbyname2","netdb.h","defined(CONFIG_LIBC_NETDB)","FAR struct hostent *","FAR const char *","int" "gethostname","unistd.h","","int","FAR char *","size_t" @@ -84,12 +96,18 @@ "getoptindp","unistd.h","","FAR int *" "getoptoptp","unistd.h","","FAR int *" "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 **" "gets","stdio.h","defined(CONFIG_FILE_STREAM)","FAR char *","FAR char *" +"gettext","libintl.h","defined(CONFIG_LIBC_LOCALE)","FAR char *","FAR const char *" "gettimeofday","sys/time.h","","int","FAR struct timeval *","FAR struct timezone *" "gmtime","time.h","","FAR struct tm *","FAR const time_t *" "gmtime_r","time.h","","FAR struct tm *","FAR const time_t *","FAR struct tm *" "htonl","arpa/inet.h","","uint32_t","uint32_t" "htons","arpa/inet.h","","uint16_t","uint16_t" +"iconv","iconv.h","defined(CONFIG_LIBC_LOCALE)","size_t","iconv_t","FAR char **","FAR size_t *","FAR char **","FAR size_t *" +"iconv_close","iconv.h","defined(CONFIG_LIBC_LOCALE)","int","iconv_t" +"iconv_open","iconv.h","defined(CONFIG_LIBC_LOCALE)","iconv_t","FAR const char *","FAR const char *" "imaxabs","inttypes.h","","intmax_t","intmax_t" "inet_addr","arpa/inet.h","","in_addr_t","FAR const char *" "inet_ntoa","arpa/inet.h","defined(CONFIG_NET_IPv4)","FAR char *","struct in_addr" @@ -98,6 +116,7 @@ "isalnum","ctype.h","","int","int" "isalpha","ctype.h","","int","int" "isascii","ctype.h","","int","int" +"isatty","unistd.h","","int","int" "isblank","ctype.h","","int","int" "iscntrl","ctype.h","","int","int" "isdigit","ctype.h","","int","int" @@ -123,9 +142,11 @@ "isxdigit","ctype.h","","int","int" "labs","stdlib.h","","long int","long int" "lib_dumpbuffer","debug.h","","void","FAR const char *","FAR const uint8_t *","unsigned int" +"lib_get_stream","nuttx/tls.h","","FAR struct file_struct *","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" "localtime","time.h","","struct tm *","const time_t *" +"localtime_r","time.h","","FAR struct tm *","FAR const time_t *","FAR struct tm *" "mallinfo","malloc.h","","struct mallinfo","void" "malloc","stdlib.h","","FAR void *","size_t" "malloc_size","malloc.h","","size_t","FAR void *" @@ -150,8 +171,10 @@ "nice","unistd.h","","int","int" "ntohl","arpa/inet.h","","uint32_t","uint32_t" "ntohs","arpa/inet.h","","uint16_t","uint16_t" +"opendir","dirent.h","","FAR DIR *","FAR const char *" "perror","stdio.h","defined(CONFIG_FILE_STREAM)","void","FAR const char *" -"posix_fallocate","fcntl.h","","int","off_t","off_t" +"posix_fallocate","fcntl.h","","int","int","off_t","off_t" +"posix_memalign","stdlib.h","","int","FAR void **","size_t","size_t" "preadv","sys/uio.h","","ssize_t","int","FAR const struct iovec *","int","off_t" "printf","stdio.h","","int","FAR const IPTR char *","..." "pthread_attr_destroy","pthread.h","!defined(CONFIG_DISABLE_PTHREAD)","int","FAR pthread_attr_t *" @@ -176,8 +199,12 @@ "pthread_cond_timedwait","pthread.h","!defined(CONFIG_DISABLE_PTHREAD)","int","FAR pthread_cond_t *","FAR pthread_mutex_t *","FAR const struct timespec *" "pthread_condattr_destroy","pthread.h","!defined(CONFIG_DISABLE_PTHREAD)","int","FAR pthread_condattr_t *" "pthread_condattr_init","pthread.h","!defined(CONFIG_DISABLE_PTHREAD)","int","FAR pthread_condattr_t *" +"pthread_condattr_setclock","pthread.h","!defined(CONFIG_DISABLE_PTHREAD)","int","FAR pthread_condattr_t *","clockid_t" "pthread_create","pthread.h","!defined(CONFIG_DISABLE_PTHREAD)","int","FAR pthread_t *","FAR const pthread_attr_t *","pthread_startroutine_t","pthread_addr_t" "pthread_getname_np","pthread.h","!defined(CONFIG_DISABLE_PTHREAD)","int","pthread_t","char *","size_t" +"pthread_getspecific","pthread.h","!defined(CONFIG_DISABLE_PTHREAD)","FAR void *","pthread_key_t" +"pthread_key_create","pthread.h","!defined(CONFIG_DISABLE_PTHREAD)","int","FAR pthread_key_t *","FAR void (*) (void *)|FAR void *" +"pthread_key_delete","pthread.h","!defined(CONFIG_DISABLE_PTHREAD)","int","pthread_key_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 *" @@ -186,16 +213,25 @@ "pthread_mutexattr_setpshared","pthread.h","!defined(CONFIG_DISABLE_PTHREAD)","int","FAR pthread_mutexattr_t *","int " "pthread_mutexattr_settype","pthread.h","!defined(CONFIG_DISABLE_PTHREAD) && defined(CONFIG_PTHREAD_MUTEX_TYPES)","int","FAR pthread_mutexattr_t *","int" "pthread_once","pthread.h","!defined(CONFIG_DISABLE_PTHREAD)","int","FAR pthread_once_t*","CODE void (*)(void)" +"pthread_rwlock_destroy","pthread.h","!defined(CONFIG_DISABLE_PTHREAD)","int","FAR pthread_rwlock_t *" +"pthread_rwlock_init","pthread.h","!defined(CONFIG_DISABLE_PTHREAD)","int","FAR pthread_rwlock_t *restrict","FAR const pthread_rwlockattr_t *" +"pthread_rwlock_rdlock","pthread.h","!defined(CONFIG_DISABLE_PTHREAD)","int","FAR pthread_rwlock_t *" +"pthread_rwlock_unlock","pthread.h","!defined(CONFIG_DISABLE_PTHREAD)","int","FAR pthread_rwlock_t *" "pthread_setname_np","pthread.h","!defined(CONFIG_DISABLE_PTHREAD)","int","pthread_t","const char *" +"pthread_setspecific","pthread.h","!defined(CONFIG_DISABLE_PTHREAD)","int","pthread_key_t","FAR const void *" "pthread_yield","pthread.h","!defined(CONFIG_DISABLE_PTHREAD)","void" "puts","stdio.h","defined(CONFIG_FILE_STREAM)","int","FAR const IPTR char *" "pwritev","sys/uio.h","","ssize_t","int","FAR const struct iovec *","int","off_t" "qsort","stdlib.h","","void","FAR void *","size_t","size_t","int(*)(FAR const void *","FAR const void *)" +"raise","signal.h","","int","int" "rand","stdlib.h","","int" +"readdir","dirent.h","","FAR struct dirent *","FAR DIR *" "readdir_r","dirent.h","","int","FAR DIR *","FAR struct dirent *","FAR struct dirent **" "readv","sys/uio.h","","ssize_t","int","FAR const struct iovec *","int" "realloc","stdlib.h","","FAR void *","FAR void *","size_t" +"remove","stdio.h","","int","const char *" "rewind","stdio.h","defined(CONFIG_FILE_STREAM)","void","FAR FILE *" +"scandir","dirent.h","","int","FAR const char *","FAR struct dirent ***","FAR int (*)(const struct dirent *)|FAR void *","FAR void *" "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 *" @@ -213,17 +249,21 @@ "sleep","unistd.h","","unsigned int","unsigned int" "snprintf","stdio.h","","int","FAR char *","size_t","FAR const IPTR char *","..." "sprintf","stdio.h","","int","FAR char *","FAR const IPTR char *","..." +"sprintf","stdio.h","","int","FAR char *","FAR const IPTR char *","..." "sq_addafter","nuttx/queue.h","","void","FAR sq_entry_t *","FAR sq_entry_t *","FAR sq_queue_t *" "sq_remafter","nuttx/queue.h","","FAR sq_entry_t","FAR sq_entry_t *","FAR sq_queue_t *" "sq_remfirst","nuttx/queue.h","","FAR sq_entry_t *","FAR sq_queue_t *" "sq_remlast","nuttx/queue.h","","FAR sq_entry_t *","FAR sq_queue_t *" "srand","stdlib.h","","void","unsigned int" "sscanf","stdio.h","","int","FAR const IPTR char *","FAR const char *","..." +"sscanf","stdio.h","","int","FAR const char *","FAR const char *","..." "statvfs","sys/statvfs.h","","int","FAR const char *","FAR struct statvfs *" +"stpcpy","string.h","","FAR char *","FAR char *","FAR const char *" "strcasecmp","strings.h","","int","FAR const char *","FAR const char *" "strcasestr","string.h","","FAR char *","FAR const char *","FAR const char *" "strcat","string.h","","FAR char *","FAR char *","FAR const char *" "strchr","string.h","","FAR char","FAR const char *","int" +"strchrnul","string.h","","FAR char *","FAR const char *","int" "strcmp","string.h","","int","FAR const char *","FAR const char *" "strcoll","string.h","defined(CONFIG_LIBC_LOCALE)","int","FAR const char *","FAR const char *" "strcpy","string.h","","FAR char *","FAR char *","FAR const char *" @@ -241,31 +281,38 @@ "strnlen","string.h","","size_t","FAR const char *","size_t" "strpbrk","string.h","","FAR char *","FAR const char *","FAR const char *" "strrchr","string.h","","FAR char *","FAR const char *","int" +"strsep","string.h","","FAR char *","FAR char **","FAR const char *" "strspn","string.h","","size_t","FAR const char *","FAR const char *" "strstr","string.h","","FAR char","FAR const char *","FAR const char *" +"strtod","stdlib.h","","double","FAR const char *","FAR char **" "strtod","stdlib.h","defined(CONFIG_HAVE_DOUBLE)","double","FAR const char *","FAR char **" "strtoimax","inttypes.h","","intmax_t","FAR const char *","FAR char **","int" "strtok","string.h","","FAR char *","FAR char *","FAR const char *" "strtok_r","string.h","","FAR char *","FAR char *","FAR const char *","FAR char **" "strtol","stdlib.h","","long","FAR const char *","FAR char **","int" -"strtoll","stdlib.h","defined(CONFIG_HAVE_LONG_LONG)","long long","FAR const char *nptr","FAR char **endptr","int base" +"strtoll","stdlib.h","defined(CONFIG_HAVE_LONG_LONG)","long long","FAR const char *","FAR char **","int" "strtoul","stdlib.h","","unsigned long","FAR const char *","FAR char **","int" +"strtoull","stdlib.h","","unsigned long long int","FAR const char *","FAR char **","int" "strtoull","stdlib.h","defined(CONFIG_HAVE_LONG_LONG)","unsigned long long","FAR const char *","FAR char **","int" "strtoumax","inttypes.h","","uintmax_t","FAR const char *","FAR char **","int" "strxfrm","string.h","defined(CONFIG_LIBC_LOCALE)","size_t","FAR char *","FAR const char *","size_t" "swab","unistd.h","","void","FAR const void *","FAR void *","ssize_t" "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_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" "tcgetattr","termios.h","","int","int","FAR struct termios *" "tcsetattr","termios.h","","int","int","int","FAR const struct termios *" "telldir","dirent.h","","off_t","FAR DIR *" +"textdomain","libintl.h","defined(CONFIG_LIBC_LOCALE_GETTEXT)","FAR char *","FAR const char *" "time","time.h","","time_t","FAR time_t *" "tolower","ctype.h","","int","int" "toupper","ctype.h","","int","int" "towlower","wchar.h","","wint_t","wint_t" "towupper","wchar.h","","wint_t","wint_t" -"truncate","unistd.h","!defined(CONFIG_DISABLE_MOUNTPOINT)","FAR const char *","off_t" +"truncate","unistd.h","!defined(CONFIG_DISABLE_MOUNTPOINT)","int","FAR const char *","off_t" "ub16divub16","fixedmath.h","!defined(CONFIG_HAVE_LONG_LONG)","ub16_t","ub16_t","ub16_t" "ub16mulub16","fixedmath.h","!defined(CONFIG_HAVE_LONG_LONG)","ub16_t","ub16_t","ub16_t" "ub16sqr","fixedmath.h","!defined(CONFIG_HAVE_LONG_LONG)","ub16_t","ub16_t" @@ -273,6 +320,7 @@ "ungetc","stdio.h","defined(CONFIG_FILE_STREAM)","int","int","FAR FILE *" "usleep","unistd.h","","int","useconds_t" "vasprintf","stdio.h","","int","FAR char **","FAR const IPTR char *","va_list" +"versionsort","dirent.h","","int","FAR const struct dirent **","FAR const struct dirent **" "vfprintf","stdio.h","defined(CONFIG_FILE_STREAM)","int","FAR FILE *","FAR const IPTR char *","va_list" "vprintf","stdio.h","","int","FAR const IPTR char *","va_list" "vscanf","stdio.h","defined(CONFIG_FILE_STREAM)","int","FAR const IPTR char *","va_list" diff --git a/syscall/syscall.csv b/syscall/syscall.csv index 5759e61901..f0da801949 100644 --- a/syscall/syscall.csv +++ b/syscall/syscall.csv @@ -1,5 +1,5 @@ -"_exit","unistd.h","","noreturn","int" "_assert","assert.h","","void","FAR const char *","int","FAR const char *" +"_exit","unistd.h","","noreturn","int" "accept4","sys/socket.h","defined(CONFIG_NET)","int","int","FAR struct sockaddr *","FAR socklen_t *","int" "adjtime","sys/time.h","defined(CONFIG_CLOCK_TIMEKEEPING)","int","FAR const struct timeval *","FAR struct timeval *" "aio_cancel","aio.h","defined(CONFIG_FS_AIO)","int","int","FAR struct aiocb *" @@ -21,6 +21,9 @@ "connect","sys/socket.h","defined(CONFIG_NET)","int","int","FAR const struct sockaddr *","socklen_t" "dup","unistd.h","","int","int" "dup2","unistd.h","","int","int","int" +"epoll_create1","sys/epoll.h","","int","int" +"epoll_ctl","sys/epoll.h","","int","int","int","int","FAR struct epoll_event *" +"epoll_wait","sys/epoll.h","","int","int","FAR struct epoll_event *","int","int" "eventfd","sys/eventfd.h","defined(CONFIG_EVENT_FD)","int","unsigned int","int" "exec","nuttx/binfmt/binfmt.h","!defined(CONFIG_BINFMT_DISABLE) && !defined(CONFIG_BUILD_KERNEL)","int","FAR const char *","FAR char * const *","FAR char * const *","FAR const struct symtab_s *","int" "execve","unistd.h","!defined(CONFIG_BINFMT_DISABLE) && defined(CONFIG_LIBC_EXECFUNCS)","int","FAR const char *","FAR char * const []|FAR char * const *","FAR char * const []|FAR char * const *" @@ -34,16 +37,20 @@ "ftruncate","unistd.h","","int","int","off_t" "futimens","sys/stat.h","","int","int","const struct timespec [2]|FAR const struct timespec *" "get_environ_ptr","stdlib.h","!defined(CONFIG_DISABLE_ENVIRON)","FAR char **" +"getegid","unistd.h","","gid_t" "getenv","stdlib.h","!defined(CONFIG_DISABLE_ENVIRON)","FAR char *","FAR const char *" +"geteuid","unistd.h","","uid_t" "getgid","unistd.h","defined(CONFIG_SCHED_USER_IDENTITY)","gid_t" "gethostname","unistd.h","","int","FAR char *","size_t" "getitimer","sys/time.h","!defined(CONFIG_DISABLE_POSIX_TIMERS)","int","int","FAR struct itimerval *" "getpeername","sys/socket.h","defined(CONFIG_NET)","int","int","FAR struct sockaddr *","FAR socklen_t *" "getpid","unistd.h","","pid_t" "getppid","unistd.h","defined(CONFIG_SCHED_HAVE_PARENT)","pid_t" +"getrandom","sys/random.h","","ssize_t","FAR void *","size_t","unsigned int" "getsockname","sys/socket.h","defined(CONFIG_NET)","int","int","FAR struct sockaddr *","FAR socklen_t *" "getsockopt","sys/socket.h","defined(CONFIG_NET)","int","int","int","int","FAR void *","FAR socklen_t *" "gettid","unistd.h","","pid_t" +"gettimeofday","sys/time.h","","int","FAR struct timeval *","FAR struct timezone *" "getuid","unistd.h","defined(CONFIG_SCHED_USER_IDENTITY)","uid_t" "insmod","nuttx/module.h","defined(CONFIG_MODULE)","FAR void *","FAR const char *","FAR const char *" "ioctl","sys/ioctl.h","","int","int","int","...","unsigned long" @@ -70,6 +77,7 @@ "mq_timedsend","mqueue.h","!defined(CONFIG_DISABLE_MQUEUE)","int","mqd_t","FAR const char *","size_t","unsigned int","FAR const struct timespec *" "mq_unlink","mqueue.h","!defined(CONFIG_DISABLE_MQUEUE)","int","FAR const char *" "munmap","sys/mman.h","","int","FAR void *","size_t" +"nanosleep","time.h","","int","FAR const struct timespec *","FAR struct timespec *" "nx_mkfifo","nuttx/fs/fs.h","defined(CONFIG_PIPES) && CONFIG_DEV_FIFO_SIZE > 0","int","FAR const char *","mode_t","size_t" "nx_pthread_create","nuttx/pthread.h","!defined(CONFIG_DISABLE_PTHREAD)","int","pthread_trampoline_t","FAR pthread_t *","FAR const pthread_attr_t *","pthread_startroutine_t","pthread_addr_t" "nx_pthread_exit","nuttx/pthread.h","!defined(CONFIG_DISABLE_PTHREAD)","noreturn","pthread_addr_t" @@ -113,6 +121,7 @@ "rename","stdio.h","","int","FAR const char *","FAR const char *" "rmdir","unistd.h","!defined(CONFIG_DISABLE_MOUNTPOINT)","int","FAR const char*" "rmmod","nuttx/module.h","defined(CONFIG_MODULE)","int","FAR void *" +"sched_backtrace","sched.h","defined(CONFIG_SCHED_BACKTRACE)","int","pid_t","FAR void **","int","int" "sched_getaffinity","sched.h","defined(CONFIG_SMP)","int","pid_t","size_t","FAR cpu_set_t *" "sched_getcpu","sched.h","defined(CONFIG_SMP)","int" "sched_getparam","sched.h","","int","pid_t","FAR struct sched_param *" @@ -125,7 +134,6 @@ "sched_setscheduler","sched.h","","int","pid_t","int","const struct sched_param *" "sched_unlock","sched.h","","int" "sched_yield","sched.h","","int" -"sched_backtrace","sched.h","defined(CONFIG_SCHED_BACKTRACE)","int","pid_t","FAR void **","int","int" "select","sys/select.h","","int","int","FAR fd_set *","FAR fd_set *","FAR fd_set *","FAR struct timeval *" "sem_clockwait","semaphore.h","","int","FAR sem_t *","clockid_t","FAR const struct timespec *" "sem_close","semaphore.h","defined(CONFIG_FS_NAMED_SEMAPHORES)","int","FAR sem_t *" @@ -141,11 +149,14 @@ "sendfile","sys/sendfile.h","","ssize_t","int","int","FAR off_t *","size_t" "sendmsg","sys/socket.h","defined(CONFIG_NET)","ssize_t","int","FAR struct msghdr *","int" "sendto","sys/socket.h","defined(CONFIG_NET)","ssize_t","int","FAR const void *","size_t","int","FAR const struct sockaddr *","socklen_t" +"setegid","unistd.h","","int","gid_t" "setenv","stdlib.h","!defined(CONFIG_DISABLE_ENVIRON)","int","FAR const char *","FAR const char *","int" +"seteuid","unistd.h","","int","uid_t" "setgid","unistd.h","defined(CONFIG_SCHED_USER_IDENTITY)","int","gid_t" "sethostname","unistd.h","","int","FAR const char *","size_t" "setitimer","sys/time.h","!defined(CONFIG_DISABLE_POSIX_TIMERS)","int","int","FAR const struct itimerval *","FAR struct itimerval *" "setsockopt","sys/socket.h","defined(CONFIG_NET)","int","int","int","int","FAR const void *","socklen_t" +"settimeofday","sys/time.h","","int","FAR const struct timeval *","FAR const struct timezone *" "setuid","unistd.h","defined(CONFIG_SCHED_USER_IDENTITY)","int","uid_t" "shm_open","sys/mman.h","defined(CONFIG_FS_SHMFS)","int","FAR const char *","int","mode_t" "shm_unlink","sys/mman.h","defined(CONFIG_FS_SHMFS)","int","FAR const char *" @@ -155,6 +166,8 @@ "shmget","sys/shm.h","defined(CONFIG_MM_SHM)","int","key_t","size_t","int" "shutdown","sys/socket.h","defined(CONFIG_NET)","int","int","int" "sigaction","signal.h","","int","int","FAR const struct sigaction *","FAR struct sigaction *" +"signal","signal.h","","_sa_handler_t","int","_sa_handler_t" +"signalfd","sys/signalfd.h","defined(CONFIG_SIGNAL_FD)","int","int","FAR const sigset_t *","int" "sigpending","signal.h","","int","FAR sigset_t *" "sigprocmask","signal.h","","int","int","FAR const sigset_t *","FAR sigset_t *" "sigqueue","signal.h","","int","int","int","union sigval|FAR void *|sival_ptr" @@ -177,6 +190,7 @@ "task_testcancel","sched.h","defined(CONFIG_CANCELLATION_POINTS)","void" "task_tls_alloc","nuttx/tls.h","CONFIG_TLS_TASK_NELEM > 0","int","tls_dtor_t" "tgkill","signal.h","","int","pid_t","pid_t","int" +"time","time.h","","time_t","FAR time_t *" "timer_create","time.h","!defined(CONFIG_DISABLE_POSIX_TIMERS)","int","clockid_t","FAR struct sigevent *","FAR timer_t *" "timer_delete","time.h","!defined(CONFIG_DISABLE_POSIX_TIMERS)","int","timer_t" "timer_getoverrun","time.h","!defined(CONFIG_DISABLE_POSIX_TIMERS)","int","timer_t" @@ -184,7 +198,7 @@ "timer_settime","time.h","!defined(CONFIG_DISABLE_POSIX_TIMERS)","int","timer_t","int","FAR const struct itimerspec *","FAR struct itimerspec *" "timerfd_create","sys/timerfd.h","defined(CONFIG_TIMER_FD)","int","int","int" "timerfd_gettime","sys/timerfd.h","defined(CONFIG_TIMER_FD)","int","int","FAR struct itimerspec *" -"timerfd_settime","sys/timerfd.h","defined(CONFIG_TIMER_FD)","int","int","int","FAR const struct itimerspec *","FAR const struct itimerspec *" +"timerfd_settime","sys/timerfd.h","defined(CONFIG_TIMER_FD)","int","int","int","FAR const struct itimerspec *","FAR struct itimerspec *" "umount2","sys/mount.h","!defined(CONFIG_DISABLE_MOUNTPOINT)","int","FAR const char *","unsigned int" "unlink","unistd.h","!defined(CONFIG_DISABLE_MOUNTPOINT)","int","FAR const char *" "unsetenv","stdlib.h","!defined(CONFIG_DISABLE_ENVIRON)","int","FAR const char *"