1
0
Fork 0
forked from nuttx/nuttx-update

Don't define unused system call numbers

git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@3461 42af7a65-404d-4744-a932-0658087f49c3
This commit is contained in:
patacongo 2011-04-04 02:28:29 +00:00
parent bae9dce323
commit 80a32c2bb1
2 changed files with 247 additions and 147 deletions

View file

@ -50,149 +50,253 @@
/* Reserve the first system calls for platform-specific usage */
#ifndef CONFIG_CONFIG_SYS_RESERVED
# define CONFIG_SYS_RESERVED (32)
# define CONFIG_SYS_RESERVED (32)
#endif
/* System call numbers */
/* System call numbers
*
* These first system calls are supported regardless of the NuttX
* configuration
*/
#define SYS__exit (CONFIG_SYS_RESERVED+0)
#define SYS_accept (CONFIG_SYS_RESERVED+1)
#define SYS_atexit (CONFIG_SYS_RESERVED+2)
#define SYS_bind (CONFIG_SYS_RESERVED+3)
#define SYS_clearenv (CONFIG_SYS_RESERVED+4)
#define SYS_clock_getres (CONFIG_SYS_RESERVED+5)
#define SYS_clock_gettime (CONFIG_SYS_RESERVED+6)
#define SYS_clock_settime (CONFIG_SYS_RESERVED+7)
#define SYS_close (CONFIG_SYS_RESERVED+8)
#define SYS_closedir (CONFIG_SYS_RESERVED+9)
#define SYS_connect (CONFIG_SYS_RESERVED+10)
#define SYS_dup (CONFIG_SYS_RESERVED+11)
#define SYS_dup2 (CONFIG_SYS_RESERVED+12)
#define SYS_exit (CONFIG_SYS_RESERVED+13)
#define SYS_fcntl (CONFIG_SYS_RESERVED+14)
#define SYS_fstat (CONFIG_SYS_RESERVED+15)
#define SYS_fstatfs (CONFIG_SYS_RESERVED+16)
#define SYS_fsync (CONFIG_SYS_RESERVED+17)
#define SYS_get_errno (CONFIG_SYS_RESERVED+18)
#define SYS_getenv (CONFIG_SYS_RESERVED+19)
#define SYS_getpid (CONFIG_SYS_RESERVED+20)
#define SYS_getsockopt (CONFIG_SYS_RESERVED+21)
#define SYS_gettimeofday (CONFIG_SYS_RESERVED+22)
#define SYS_ioctl (CONFIG_SYS_RESERVED+23)
#define SYS_kill (CONFIG_SYS_RESERVED+24)
#define SYS_listen (CONFIG_SYS_RESERVED+25)
#define SYS_lseek (CONFIG_SYS_RESERVED+26)
#define SYS_mkdir (CONFIG_SYS_RESERVED+27)
#define SYS_mkfifo (CONFIG_SYS_RESERVED+28)
#define SYS_mmap (CONFIG_SYS_RESERVED+29)
#define SYS_mount (CONFIG_SYS_RESERVED+30)
#define SYS_mq_close (CONFIG_SYS_RESERVED+31)
#define SYS_mq_notify (CONFIG_SYS_RESERVED+32)
#define SYS_mq_open (CONFIG_SYS_RESERVED+33)
#define SYS_mq_receive (CONFIG_SYS_RESERVED+34)
#define SYS_mq_send (CONFIG_SYS_RESERVED+35)
#define SYS_mq_timedreceive (CONFIG_SYS_RESERVED+36)
#define SYS_mq_timedsend (CONFIG_SYS_RESERVED+37)
#define SYS_mq_unlink (CONFIG_SYS_RESERVED+38)
#define SYS_open (CONFIG_SYS_RESERVED+39)
#define SYS_opendir (CONFIG_SYS_RESERVED+40)
#define SYS_pipe (CONFIG_SYS_RESERVED+41)
#define SYS_poll (CONFIG_SYS_RESERVED+42)
#define SYS_pthread_barrier_destroy (CONFIG_SYS_RESERVED+43)
#define SYS_pthread_barrier_init (CONFIG_SYS_RESERVED+44)
#define SYS_pthread_barrier_wait (CONFIG_SYS_RESERVED+45)
#define SYS_pthread_cancel (CONFIG_SYS_RESERVED+46)
#define SYS_pthread_cond_broadcast (CONFIG_SYS_RESERVED+47)
#define SYS_pthread_cond_destroy (CONFIG_SYS_RESERVED+48)
#define SYS_pthread_cond_init (CONFIG_SYS_RESERVED+49)
#define SYS_pthread_cond_signal (CONFIG_SYS_RESERVED+50)
#define SYS_pthread_cond_timedwait (CONFIG_SYS_RESERVED+51)
#define SYS_pthread_cond_wait (CONFIG_SYS_RESERVED+52)
#define SYS_pthread_create (CONFIG_SYS_RESERVED+53)
#define SYS_pthread_detach (CONFIG_SYS_RESERVED+54)
#define SYS_pthread_exit (CONFIG_SYS_RESERVED+55)
#define SYS_pthread_getschedparam (CONFIG_SYS_RESERVED+56)
#define SYS_pthread_getspecific (CONFIG_SYS_RESERVED+57)
#define SYS_pthread_join (CONFIG_SYS_RESERVED+58)
#define SYS_pthread_key_create (CONFIG_SYS_RESERVED+59)
#define SYS_pthread_key_delete (CONFIG_SYS_RESERVED+60)
#define SYS_pthread_kill (CONFIG_SYS_RESERVED+61)
#define SYS_pthread_mutex_destroy (CONFIG_SYS_RESERVED+62)
#define SYS_pthread_mutex_init (CONFIG_SYS_RESERVED+63)
#define SYS_pthread_mutex_lock (CONFIG_SYS_RESERVED+64)
#define SYS_pthread_mutex_trylock (CONFIG_SYS_RESERVED+65)
#define SYS_pthread_mutex_unlock (CONFIG_SYS_RESERVED+66)
#define SYS_pthread_once (CONFIG_SYS_RESERVED+67)
#define SYS_pthread_setcancelstate (CONFIG_SYS_RESERVED+68)
#define SYS_pthread_setschedparam (CONFIG_SYS_RESERVED+69)
#define SYS_pthread_setschedprio (CONFIG_SYS_RESERVED+70)
#define SYS_pthread_setspecific (CONFIG_SYS_RESERVED+71)
#define SYS_pthread_sigmask (CONFIG_SYS_RESERVED+72)
#define SYS_pthread_testcancel (CONFIG_SYS_RESERVED+73)
#define SYS_pthread_yield (CONFIG_SYS_RESERVED+74)
#define SYS_putenv (CONFIG_SYS_RESERVED+75)
#define SYS_read (CONFIG_SYS_RESERVED+76)
#define SYS_readdir (CONFIG_SYS_RESERVED+77)
#define SYS_recv (CONFIG_SYS_RESERVED+78)
#define SYS_recvfrom (CONFIG_SYS_RESERVED+79)
#define SYS_rename (CONFIG_SYS_RESERVED+80)
#define SYS_rewinddir (CONFIG_SYS_RESERVED+81)
#define SYS_rmdir (CONFIG_SYS_RESERVED+82)
#define SYS_sched_getparam (CONFIG_SYS_RESERVED+83)
#define SYS_sched_getscheduler (CONFIG_SYS_RESERVED+84)
#define SYS_sched_lock (CONFIG_SYS_RESERVED+85)
#define SYS_sched_lockcount (CONFIG_SYS_RESERVED+86)
#define SYS_sched_rr_get_interval (CONFIG_SYS_RESERVED+87)
#define SYS_sched_setparam (CONFIG_SYS_RESERVED+88)
#define SYS_sched_setscheduler (CONFIG_SYS_RESERVED+89)
#define SYS_sched_unlock (CONFIG_SYS_RESERVED+90)
#define SYS_sched_yield (CONFIG_SYS_RESERVED+91)
#define SYS_seekdir (CONFIG_SYS_RESERVED+92)
#define SYS_select (CONFIG_SYS_RESERVED+93)
#define SYS_sem_close (CONFIG_SYS_RESERVED+94)
#define SYS_sem_destroy (CONFIG_SYS_RESERVED+95)
#define SYS_sem_open (CONFIG_SYS_RESERVED+96)
#define SYS_sem_post (CONFIG_SYS_RESERVED+97)
#define SYS_sem_trywait (CONFIG_SYS_RESERVED+98)
#define SYS_sem_unlink (CONFIG_SYS_RESERVED+99)
#define SYS_sem_wait (CONFIG_SYS_RESERVED+100)
#define SYS_sem_close (CONFIG_SYS_RESERVED+101)
#define SYS_sem_close (CONFIG_SYS_RESERVED+102)
#define SYS_sem_close (CONFIG_SYS_RESERVED+103)
#define SYS_sem_close (CONFIG_SYS_RESERVED+104)
#define SYS_send (CONFIG_SYS_RESERVED+105)
#define SYS_sendto (CONFIG_SYS_RESERVED+106)
#define SYS_set_errno (CONFIG_SYS_RESERVED+107)
#define SYS_setenv (CONFIG_SYS_RESERVED+108)
#define SYS_setsockopt (CONFIG_SYS_RESERVED+109)
#define SYS_sigaction (CONFIG_SYS_RESERVED+110)
#define SYS_sigpending (CONFIG_SYS_RESERVED+111)
#define SYS_sigprocmask (CONFIG_SYS_RESERVED+112)
#define SYS_sigqueue (CONFIG_SYS_RESERVED+113)
#define SYS_sigsuspend (CONFIG_SYS_RESERVED+114)
#define SYS_sigtimedwait (CONFIG_SYS_RESERVED+115)
#define SYS_sigwaitinfo (CONFIG_SYS_RESERVED+116)
#define SYS_sleep (CONFIG_SYS_RESERVED+117)
#define SYS_socket (CONFIG_SYS_RESERVED+118)
#define SYS_stat (CONFIG_SYS_RESERVED+119)
#define SYS_statfs (CONFIG_SYS_RESERVED+120)
#define SYS_task_create (CONFIG_SYS_RESERVED+121)
#define SYS_task_delete (CONFIG_SYS_RESERVED+122)
#define SYS_task_restart (CONFIG_SYS_RESERVED+123)
#define SYS_telldir (CONFIG_SYS_RESERVED+124)
#define SYS_timer_create (CONFIG_SYS_RESERVED+125)
#define SYS_timer_delete (CONFIG_SYS_RESERVED+126)
#define SYS_timer_getoverrun (CONFIG_SYS_RESERVED+127)
#define SYS_timer_gettime (CONFIG_SYS_RESERVED+128)
#define SYS_timer_settime (CONFIG_SYS_RESERVED+129)
#define SYS_umount (CONFIG_SYS_RESERVED+130)
#define SYS_unlink (CONFIG_SYS_RESERVED+131)
#define SYS_unsetenv (CONFIG_SYS_RESERVED+132)
#define SYS_up_assert (CONFIG_SYS_RESERVED+133)
#define SYS_up_assert_code (CONFIG_SYS_RESERVED+134)
#define SYS_usleep (CONFIG_SYS_RESERVED+135)
#define SYS_waitpid (CONFIG_SYS_RESERVED+136)
#define SYS_write (CONFIG_SYS_RESERVED+137)
#define SYS__exit (CONFIG_SYS_RESERVED+0)
#define SYS_exit (CONFIG_SYS_RESERVED+1)
#define SYS_get_errno (CONFIG_SYS_RESERVED+2)
#define SYS_getpid (CONFIG_SYS_RESERVED+3)
#define SYS_sched_getparam (CONFIG_SYS_RESERVED+4)
#define SYS_sched_getscheduler (CONFIG_SYS_RESERVED+5)
#define SYS_sched_lock (CONFIG_SYS_RESERVED+6)
#define SYS_sched_lockcount (CONFIG_SYS_RESERVED+7)
#define SYS_sched_rr_get_interval (CONFIG_SYS_RESERVED+8)
#define SYS_sched_setparam (CONFIG_SYS_RESERVED+9)
#define SYS_sched_setscheduler (CONFIG_SYS_RESERVED+10)
#define SYS_sched_unlock (CONFIG_SYS_RESERVED+11)
#define SYS_sched_yield (CONFIG_SYS_RESERVED+12)
#define SYS_sem_close (CONFIG_SYS_RESERVED+13)
#define SYS_sem_destroy (CONFIG_SYS_RESERVED+14)
#define SYS_sem_open (CONFIG_SYS_RESERVED+15)
#define SYS_sem_post (CONFIG_SYS_RESERVED+16)
#define SYS_sem_trywait (CONFIG_SYS_RESERVED+17)
#define SYS_sem_unlink (CONFIG_SYS_RESERVED+18)
#define SYS_sem_wait (CONFIG_SYS_RESERVED+19)
#define SYS_set_errno (CONFIG_SYS_RESERVED+20)
#define SYS_task_create (CONFIG_SYS_RESERVED+21)
#define SYS_task_delete (CONFIG_SYS_RESERVED+22)
#define SYS_task_restart (CONFIG_SYS_RESERVED+23)
#define SYS_up_assert (CONFIG_SYS_RESERVED+24)
#define SYS_up_assert_code (CONFIG_SYS_RESERVED+25)
#define __SYS_atexit (CONFIG_SYS_RESERVED+26)
/* The following can be individually enabled */
#ifdef CONFIG_SCHED_ATEXT
# define SYS_atexit __SYS_atexit
# define __SYS_waitpaid (__SYS_atexit+1)
#else
# define __SYS_waitpaid __SYS_atexit
#endif
#ifdef CONFIG_SCHED_WAITPID
# define SYS_waitpid __SYS_waitpaid
# define __SYS_signals (__SYS_waitpaid+1)
#else
# define __SYS_signals __SYS_waitpaid
#endif
/* The following are only defined is signals are supported in the NuttX
* configuration.
*/
#ifndef CONFIG_DISABLE_SIGNALS
# define SYS_kill (__SYS_signals+0)
# define SYS_sigaction (__SYS_signals+1)
# define SYS_sigpending (__SYS_signals+2)
# define SYS_sigprocmask (__SYS_signals+3)
# define SYS_sigqueue (__SYS_signals+4)
# define SYS_sigsuspend (__SYS_signals+5)
# define SYS_sigtimedwait (__SYS_signals+6)
# define SYS_sigwaitinfo (__SYS_signals+7)
# define SYS_sleep (__SYS_signals+8)
# define SYS_usleep (__SYS_signals+9)
# define __SYS_clock (__SYS_signals+10)
#else
# define __SYS_clock __SYS_signals
#endif
/* The following are only defined if the system clock is enabled in the
* NuttX configuration.
*/
#ifndef CONFIG_DISABLE_CLOCK
# define SYS_clock_getres (__SYS_clock+0)
# define SYS_clock_gettime (__SYS_clock+1)
# define SYS_clock_settime (__SYS_clock+2)
# define SYS_gettimeofday (__SYS_clock+3)
# define __SYS_timers (__SYS_clock+4)
#else
# define __SYS_timers __SYS_clock
#endif
/* The following are defined only if POSIX timers are supported */
#ifndef CONFIG_DISABLE_POSIX_TIMERS
# define SYS_timer_create (__SYS_timers+0)
# define SYS_timer_delete (__SYS_timers+1)
# define SYS_timer_getoverrun (__SYS_timers+2)
# define SYS_timer_gettime (__SYS_timers+3)
# define SYS_timer_settime (__SYS_timers+4)
# define __SYS_descriptors (__SYS_timers+5)
#else
# define __SYS_descriptors __SYS_timers
#endif
/* The following are defined if either file or socket descriptor are
* enabled.
*/
#ifndef CONFIG_NET
# undef CONFIG_NSOCKET_DESCRIPTORS
# define CONFIG_NSOCKET_DESCRIPTORS 0
#endif
#if CONFIG_NFILE_DESCRIPTORS > 0 || CONFIG_NSOCKET_DESCRIPTORS > 0
# define SYS_close (__SYS_descriptors+0)
# define SYS_ioctl (__SYS_descriptors+1)
# define SYS_poll (__SYS_descriptors+2)
# define SYS_read (__SYS_descriptors+3)
# define SYS_select (__SYS_descriptors+4)
# define SYS_write (__SYS_descriptors+5)
# define __SYS_filedesc (__SYS_descriptors+6)
#else
# define __SYS_filedesc __SYS_descriptors
#endif
/* The following are defined if file descriptors are enabled */
#if CONFIG_NFILE_DESCRIPTORS > 0
# define SYS_closedir (__SYS_filedesc+0)
# define SYS_dup (__SYS_filedesc+1)
# define SYS_dup2 (__SYS_filedesc+2)
# define SYS_fcntl (__SYS_filedesc+3)
# define SYS_lseek (__SYS_filedesc+4)
# define SYS_mkfifo (__SYS_filedesc+5)
# define SYS_mmap (__SYS_filedesc+6)
# define SYS_open (__SYS_filedesc+7)
# define SYS_opendir (__SYS_filedesc+8)
# define SYS_pipe (__SYS_filedesc+9)
# define SYS_readdir (__SYS_filedesc+10)
# define SYS_rewinddir (__SYS_filedesc+11)
# define SYS_seekdir (__SYS_filedesc+12)
# define SYS_stat (__SYS_filedesc+13)
# define SYS_statfs (__SYS_filedesc+14)
# define SYS_telldir (__SYS_filedesc+15)
# if !defined(CONFIG_DISABLE_MOUNTPOINT)
# define SYS_fsync (__SYS_filedesc+16)
# define SYS_mkdir (__SYS_filedesc+17)
# define SYS_mount (__SYS_filedesc+18)
# define SYS_rename (__SYS_filedesc+19)
# define SYS_rmdir (__SYS_filedesc+20)
# define SYS_umount (__SYS_filedesc+21)
# define SYS_unlink (__SYS_filedesc+22)
# define __SYS_pthread (__SYS_filedesc+23)
# else
# define __SYS_pthread (__SYS_filedesc+16)
# endif
#else
# define __SYS_pthread __SYS_filedesc
#endif
/* The following are defined if pthreads are enabled */
#ifndef CONFIG_DISABLE_PTHREAD
# define SYS_pthread_barrier_destroy (__SYS_pthread+0)
# define SYS_pthread_barrier_init (__SYS_pthread+1)
# define SYS_pthread_barrier_wait (__SYS_pthread+2)
# define SYS_pthread_cancel (__SYS_pthread+3)
# define SYS_pthread_cond_broadcast (__SYS_pthread+4)
# define SYS_pthread_cond_destroy (__SYS_pthread+5)
# define SYS_pthread_cond_init (__SYS_pthread+6)
# define SYS_pthread_cond_signal (__SYS_pthread+7)
# define SYS_pthread_cond_wait (__SYS_pthread+8)
# define SYS_pthread_create (__SYS_pthread+9)
# define SYS_pthread_detach (__SYS_pthread+10)
# define SYS_pthread_exit (__SYS_pthread+11)
# define SYS_pthread_getschedparam (__SYS_pthread+12)
# define SYS_pthread_getspecific (__SYS_pthread+13)
# define SYS_pthread_join (__SYS_pthread+14)
# define SYS_pthread_key_create (__SYS_pthread+15)
# define SYS_pthread_key_delete (__SYS_pthread+16)
# define SYS_pthread_mutex_destroy (__SYS_pthread+17)
# define SYS_pthread_mutex_init (__SYS_pthread+18)
# define SYS_pthread_mutex_lock (__SYS_pthread+19)
# define SYS_pthread_mutex_trylock (__SYS_pthread+20)
# define SYS_pthread_mutex_unlock (__SYS_pthread+21)
# define SYS_pthread_once (__SYS_pthread+22)
# define SYS_pthread_setcancelstate (__SYS_pthread+23)
# define SYS_pthread_setschedparam (__SYS_pthread+24)
# define SYS_pthread_setschedprio (__SYS_pthread+25)
# define SYS_pthread_setspecific (__SYS_pthread+26)
# define SYS_pthread_testcancel (__SYS_pthread+27)
# define SYS_pthread_yield (__SYS_pthread+28)
# ifndef CONFIG_DISABLE_SIGNAL
# define SYS_pthread_cond_timedwait (__SYS_pthread+29)
# define SYS_pthread_kill (__SYS_pthread+30)
# define SYS_pthread_sigmask (__SYS_pthread+31)
# define __SYS_mqueue (__SYS_pthread+32)
# else
# define __SYS_mqueue (__SYS_pthread+29)
# endif
#else
# define __SYS_mqueue __SYS_pthread
#endif
/* The following are defined only if message queues are enabled */
#ifndef CONFIG_DISABLE_MQUEUE
# define SYS_mq_close (__SYS_mqueue+0)
# define SYS_mq_notify (__SYS_mqueue+1)
# define SYS_mq_open (__SYS_mqueue+2)
# define SYS_mq_receive (__SYS_mqueue+3)
# define SYS_mq_send (__SYS_mqueue+4)
# define SYS_mq_timedreceive (__SYS_mqueue+5)
# define SYS_mq_timedsend (__SYS_mqueue+6)
# define SYS_mq_unlink (__SYS_mqueue+7)
# define __SYS_environ (__SYS_mqueue+8)
#else
# define __SYS_environ __SYS_mqueue
#endif
/* The following are defined only if environment variables are supported */
#ifndef CONFIG_DISABLE_ENVIRON
# define SYS_clearenv (__SYS_environ+0)
# define SYS_getenv (__SYS_environ+1)
# define SYS_putenv (__SYS_environ+2)
# define SYS_setenv (__SYS_environ+3)
# define SYS_unsetenv (__SYS_environ+4)
# define __SYS_network (__SYS_environ+5)
#else
# define __SYS_network __SYS_environ
#endif
/* The following are defined only if networking AND sockets are supported */
#if CONFIG_NSOCKET_DESCRIPTORS > 0 && defined(CONFIG_NET)
# define SYS_accept (__SYS_network+0)
# define SYS_bind (__SYS_network+1)
# define SYS_connect (__SYS_network+2)
# define SYS_getsockopt (__SYS_network+3)
# define SYS_listen (__SYS_network+4)
# define SYS_recv (__SYS_network+5)
# define SYS_recvfrom (__SYS_network+6)
# define SYS_send (__SYS_network+7)
# define SYS_sendto (__SYS_network+8)
# define SYS_setsockopt (__SYS_network+9)
# define SYS_socket (__SYS_network+10)
# define SYS_nsyscalls (__SYS_network+11)
#else
# define SYS_nsyscalls __SYS_network
#endif
/****************************************************************************
* Public Type Definitions

View file

@ -13,16 +13,12 @@
"dup2","unistd.h","CONFIG_NFILE_DESCRIPTORS > 0","int","int","int"
"exit","stdlib.h","","void","int"
"fcntl","fcntl.h","CONFIG_NFILE_DESCRIPTORS > 0","int","int","int","..."
"fstat","sys/stat.h","","int","int","FAR struct stat*"
"fstatfs","sys/statfs.h","","int","int","struct statfs*"
"fsync","unistd.h","CONFIG_NFILE_DESCRIPTORS > 0 && !defined(CONFIG_DISABLE_MOUNTPOINT)","int","int"
#"get_environ_ptr","stdlib.h","!defined(CONFIG_DISABLE_ENVIRON)","FAR char**"
#"get_errno_ptr","errno.h","","FAR int*"
"get_errno","errno.h","","int"
"getenv","stdlib.h","!defined(CONFIG_DISABLE_ENVIRON)","FAR char*","FAR const char*"
"getpid","unistd.h","","pid_t"
"getsockopt","sys/socket.h","CONFIG_NSOCKET_DESCRIPTORS > 0 && defined(CONFIG_NET)","int","int","int","int","FAR void*","FAR socklen_t*"
"gettimeofday","sys/time.h","","int","struct timeval*","FAR void*"
"gettimeofday","sys/time.h","!defined(CONFIG_DISABLE_CLOCK)","int","struct timeval*","FAR void*"
"ioctl","sys/ioctl.h","CONFIG_NSOCKET_DESCRIPTORS > 0 || CONFIG_NFILE_DESCRIPTORS > 0","int","int","int","unsigned long"
"kill","signal.h","!defined(CONFIG_DISABLE_SIGNALS)","int","pid_t","int"
"listen","sys/socket.h","CONFIG_NSOCKET_DESCRIPTORS > 0 && defined(CONFIG_NET)","int","int","int"
@ -104,7 +100,7 @@
"send","sys/socket.h","CONFIG_NSOCKET_DESCRIPTORS > 0 && defined(CONFIG_NET)","ssize_t","int","FAR const void*","size_t","int"
"sendto","sys/socket.h","CONFIG_NSOCKET_DESCRIPTORS > 0 && defined(CONFIG_NET)","ssize_t","int","FAR const void*","size_t","int","FAR const struct sockaddr*","socklen_t"
"set_errno","errno.h","","void","int"
"setenv","stdlib.h","","int","const char*","const char*","int"
"setenv","stdlib.h","!defined(CONFIG_DISABLE_ENVIRON)","int","const char*","const char*","int"
"setsockopt","sys/socket.h","CONFIG_NSOCKET_DESCRIPTORS > 0 && defined(CONFIG_NET)","int","int","int","int","FAR const void*","socklen_t"
"sigaction","signal.h","!defined(CONFIG_DISABLE_SIGNALS)","int","int","FAR const struct sigaction*","FAR struct sigaction*"
"sigpending","signal.h","!defined(CONFIG_DISABLE_SIGNALS)","int","FAR sigset_t*"
@ -114,7 +110,7 @@
"sigtimedwait","signal.h","!defined(CONFIG_DISABLE_SIGNALS)","int","FAR const sigset_t*","FAR struct siginfo*","FAR const struct timespec*"
"sigwaitinfo","signal.h","!defined(CONFIG_DISABLE_SIGNALS)","int","FAR const sigset_t*","FAR struct siginfo*"
"sleep","unistd.h","!defined(CONFIG_DISABLE_SIGNALS)","unsigned int","unsigned int"
"socket","sys/socket.h","","int","int","int","int"
"socket","sys/socket.h","CONFIG_NSOCKET_DESCRIPTORS > 0 && defined(CONFIG_NET)","int","int","int","int"
"stat","sys/stat.h","CONFIG_NFILE_DESCRIPTORS > 0","int","const char*","FAR struct stat*"
#"statfs","stdio.h","","int","FAR const char*","FAR struct statfs*"
"statfs","sys/statfs.h","CONFIG_NFILE_DESCRIPTORS > 0","int","const char*","struct statfs*"

Can't render this file because it has a wrong number of fields in line 2.