mirror of
https://github.com/apache/nuttx.git
synced 2026-05-22 05:42:05 +08:00
syscall: Fix typo error in cvs and header file
and reoder the entry in cvs file Signed-off-by: Xiang Xiao <xiaoxiang@xiaomi.com>
This commit is contained in:
@@ -913,7 +913,7 @@ int exec(FAR const char *filename, FAR char * const *argv,
|
||||
<ul><pre>
|
||||
#include <unistd.h>
|
||||
#ifdef CONFIG_LIBC_EXECFUNCS
|
||||
int execv(FAR const char *path, FAR char *const argv[]);
|
||||
int execv(FAR const char *path, FAR char * const argv[]);
|
||||
#endif
|
||||
</pre></ul>
|
||||
<p>
|
||||
@@ -1045,11 +1045,11 @@ int execl(FAR const char *path, ...);
|
||||
int posix_spawn(FAR pid_t *pid, FAR const char *path,
|
||||
FAR const posix_spawn_file_actions_t *file_actions,
|
||||
FAR const posix_spawnattr_t *attr,
|
||||
FAR char *const argv[], FAR char *const envp[]);
|
||||
FAR char * const argv[], FAR char * const envp[]);
|
||||
int posix_spawnp(FAR pid_t *pid, FAR const char *file,
|
||||
FAR const posix_spawn_file_actions_t *file_actions,
|
||||
FAR const posix_spawnattr_t *attr,
|
||||
FAR char *const argv[], FAR char *const envp[]);
|
||||
FAR char * const argv[], FAR char * const envp[]);
|
||||
</pre></ul>
|
||||
<p>
|
||||
<b>Description:</b>
|
||||
@@ -1632,7 +1632,7 @@ int posix_spawnattr_setsigmask(FAR posix_spawnattr_t *attr, FAR const sigset_t *
|
||||
int task_spawn(FAR pid_t *pid, FAR const char *name, main_t entry,
|
||||
FAR const posix_spawn_file_actions_t *file_actions,
|
||||
FAR const posix_spawnattr_t *attr,
|
||||
FAR char *const argv[], FAR char *const envp[]);
|
||||
FAR char * const argv[], FAR char * const envp[]);
|
||||
</pre></ul>
|
||||
<p>
|
||||
<b>Description:</b>
|
||||
@@ -1863,7 +1863,7 @@ int posix_spawn_file_actions_init(FAR posix_spawn_file_actions_t *file_actions);
|
||||
<b>Function Prototype:</b>
|
||||
<pre>
|
||||
#include <sched.h>
|
||||
int sched_setparam(pid_t pid, const struct sched_param *param);
|
||||
int sched_setparam(pid_t pid, FAR const struct sched_param *param);
|
||||
</pre>
|
||||
<p>
|
||||
<b>Description:</b>
|
||||
@@ -1927,7 +1927,7 @@ int posix_spawn_file_actions_init(FAR posix_spawn_file_actions_t *file_actions);
|
||||
<b>Function Prototype:</b>
|
||||
<pre>
|
||||
#include <sched.h>
|
||||
int sched_getparam (pid_t pid, struct sched_param *param);
|
||||
int sched_getparam(pid_t pid, FAR struct sched_param *param);
|
||||
</pre>
|
||||
|
||||
<p>
|
||||
@@ -3308,7 +3308,7 @@ interface of the same name.
|
||||
<b>Function Prototype:</b>
|
||||
<pre>
|
||||
#include <mqueue.h>
|
||||
int mq_notify(mqd_t mqdes, const struct sigevent *notification);
|
||||
int mq_notify(mqd_t mqdes, FAR const struct sigevent *notification);
|
||||
</pre>
|
||||
</p>
|
||||
<p>
|
||||
@@ -5934,7 +5934,7 @@ interface of the same name.
|
||||
<p>
|
||||
<pre>
|
||||
#include <pthread.h>
|
||||
int pthread_attr_destroy(pthread_attr_t *attr);
|
||||
int pthread_attr_destroy(FAR pthread_attr_t *attr);
|
||||
</pre>
|
||||
<p>
|
||||
<b>Description:</b>
|
||||
@@ -5997,7 +5997,7 @@ interface of the same name.
|
||||
<p>
|
||||
<pre>
|
||||
#include <pthread.h>
|
||||
int pthread_attr_getschedpolicy(pthread_attr_t *attr, int *policy);
|
||||
int pthread_attr_getschedpolicy(FAR const pthread_attr_t *attr, FAR int *policy);
|
||||
</pre>
|
||||
<p>
|
||||
<b>Description:</b>
|
||||
@@ -6187,7 +6187,7 @@ interface of the same name.
|
||||
<p>
|
||||
<pre>
|
||||
#include <pthread.h>
|
||||
int pthread_attr_getstacksize(pthread_attr_t *attr, long *stackaddr);
|
||||
int pthread_attr_getstacksize(FAR const pthread_attr_t *attr, FAR size_t *stackaddr);
|
||||
</pre>
|
||||
<p>
|
||||
<b>Description:</b>
|
||||
@@ -7154,7 +7154,7 @@ interface of the same name.
|
||||
<pre>
|
||||
#include <pthread.h>
|
||||
#ifdef CONFIG_PTHREAD_MUTEX_TYPES
|
||||
int pthread_mutexattr_gettype(const pthread_mutexattr_t *attr, int *type);
|
||||
int pthread_mutexattr_gettype(FAR const pthread_mutexattr_t *attr, FAR int *type);
|
||||
#endif
|
||||
</pre>
|
||||
<p>
|
||||
@@ -8574,8 +8574,8 @@ interface of the same name.
|
||||
|
||||
<ul><pre>
|
||||
#include <fcntl.h>
|
||||
int creat(const char *path, mode_t mode);
|
||||
int open(const char *path, int oflag, ...);
|
||||
int creat(FAR const char *path, mode_t mode);
|
||||
int open(FAR const char *path, int oflag, ...);
|
||||
int fcntl(int fd, int cmd, ...);
|
||||
</pre></ul>
|
||||
|
||||
@@ -8783,7 +8783,7 @@ ssize_t readlink(FAR const char *path, FAR char *buf, size_t bufsize);
|
||||
|
||||
#ifdef CONFIG_LIBC_EXECFUNCS
|
||||
int execl(FAR const char *path, ...);
|
||||
int execv(FAR const char *path, FAR char *const argv[]);
|
||||
int execv(FAR const char *path, FAR char * const argv[]);
|
||||
#endif
|
||||
|
||||
/* Networking */
|
||||
@@ -8795,7 +8795,7 @@ int sethostname(FAR const char *name, size_t size);
|
||||
|
||||
/* Other */
|
||||
|
||||
int getopt(int argc, FAR char *const argv[], FAR const char *optstring);
|
||||
int getopt(int argc, FAR char * const argv[], FAR const char *optstring);
|
||||
|
||||
</pre></ul>
|
||||
</a>
|
||||
@@ -8806,27 +8806,27 @@ int getopt(int argc, FAR char *const argv[], FAR const char *optstring);
|
||||
|
||||
/* Operations on streams (FILE) */
|
||||
|
||||
void clearerr(register FILE *stream);
|
||||
int fclose(FILE *stream);
|
||||
int fflush(FILE *stream);
|
||||
int feof(FILE *stream);
|
||||
int ferror(FILE *stream);
|
||||
void clearerr(FAR FILE *stream);
|
||||
int fclose(FAR FILE *stream);
|
||||
int fflush(FAR FILE *stream);
|
||||
int feof(FAR FILE *stream);
|
||||
int ferror(FAR FILE *stream);
|
||||
int fileno(FAR FILE *stream);
|
||||
int fgetc(FILE *stream);
|
||||
int fgetpos(FILE *stream, fpos_t *pos);
|
||||
char *fgets(char *s, int n, FILE *stream);
|
||||
FILE *fopen(const char *path, const char *type);
|
||||
int fprintf(FILE *stream, const char *format, ...);
|
||||
int fputc(int c, FILE *stream);
|
||||
int fputs(const char *s, FILE *stream);
|
||||
size_t fread(void *ptr, size_t size, size_t n_items, FILE *stream);
|
||||
int fgetc(FAR FILE *stream);
|
||||
int fgetpos(FAR FILE *stream, FAR fpos_t *pos);
|
||||
FAR char *fgets(FAR char *s, int n, FAR FILE *stream);
|
||||
FAR FILE *fopen(FAR const char *path, FAR const char *type);
|
||||
int fprintf(FAR FILE *stream, FAR const char *format, ...);
|
||||
int fputc(int c, FAR FILE *stream);
|
||||
int fputs(FAR const char *s, FAR FILE *stream);
|
||||
size_t fread(FAR void *ptr, size_t size, size_t n_items, FAR FILE *stream);
|
||||
FAR FILE *freopen(FAR const char *path, FAR const char *mode,
|
||||
FAR FILE *stream);
|
||||
int fseek(FILE *stream, long int offset, int whence);
|
||||
int fsetpos(FILE *stream, fpos_t *pos);
|
||||
long ftell(FILE *stream);
|
||||
size_t fwrite(const void *ptr, size_t size, size_t n_items, FILE *stream);
|
||||
FAR char *gets(char *s);
|
||||
int fseek(FAR FILE *stream, long int offset, int whence);
|
||||
int fsetpos(FAR FILE *stream, FAR fpos_t *pos);
|
||||
long ftell(FAR FILE *stream);
|
||||
size_t fwrite(FAR const void *ptr, size_t size, size_t n_items, FAR FILE *stream);
|
||||
FAR char *gets(FAR char *s);
|
||||
FAR char *gets_s(FAR char *s, rsize_t n);
|
||||
void setbuf(FAR FILE *stream, FAR char *buf);
|
||||
int setvbuf(FAR FILE *stream, FAR char *buffer, int mode, size_t size);
|
||||
@@ -8834,21 +8834,21 @@ int ungetc(int c, FAR FILE *stream);
|
||||
|
||||
/* Operations on the stdout stream, buffers, paths, and the whole printf-family * /
|
||||
|
||||
int printf(const char *format, ...);
|
||||
int puts(const char *s);
|
||||
int rename(const char *source, const char *target);
|
||||
int sprintf(char *dest, const char *format, ...);
|
||||
int asprintf (FAR char **ptr, FAR const char *fmt, ...);
|
||||
int snprintf(FAR char *buf, size_t size, const char *format, ...);
|
||||
int sscanf(const char *buf, const char *fmt, ...);
|
||||
int printf(FAR const char *format, ...);
|
||||
int puts(FAR const char *s);
|
||||
int rename(FAR const char *source, FAR const char *target);
|
||||
int sprintf(FAR char *dest, FAR const char *format, ...);
|
||||
int asprintf(FAR char **ptr, FAR const char *fmt, ...);
|
||||
int snprintf(FAR char *buf, size_t size, FAR const char *format, ...);
|
||||
int sscanf(FAR const char *buf, FAR const char *fmt, ...);
|
||||
void perror(FAR const char *s);
|
||||
|
||||
int vprintf(const char *s, va_list ap);
|
||||
int vfprintf(FILE *stream, const char *s, va_list ap);
|
||||
int vsprintf(char *buf, const char *s, va_list ap);
|
||||
int vasprintf(FAR char **ptr, const char *fmt, va_list ap);
|
||||
int vsnprintf(FAR char *buf, size_t size, const char *format, va_list ap);
|
||||
int vsscanf(char *buf, const char *s, va_list ap);
|
||||
int vprintf(FAR const char *s, va_list ap);
|
||||
int vfprintf(FAR FILE *stream, FAR const char *s, va_list ap);
|
||||
int vsprintf(FAR char *buf, FAR const char *s, va_list ap);
|
||||
int vasprintf(FAR char **ptr, FAR const char *fmt, va_list ap);
|
||||
int vsnprintf(FAR char *buf, size_t size, FAR const char *format, va_list ap);
|
||||
int vsscanf(FAR char *buf, FAR const char *s, va_list ap);
|
||||
|
||||
/* Operations on file descriptors including:
|
||||
*
|
||||
@@ -8871,7 +8871,7 @@ int remove(FAR const char *path);
|
||||
|
||||
int mkdir(FAR const char *pathname, mode_t mode);
|
||||
int mkfifo(FAR const char *pathname, mode_t mode);
|
||||
int stat(const char *path, FAR struct stat *buf);
|
||||
int stat(FAR const char *path, FAR struct stat *buf);
|
||||
int fstat(int fd, FAR struct stat *buf);
|
||||
|
||||
#include <sys/statfs.h>
|
||||
@@ -8901,10 +8901,10 @@ int aio_error(FAR const struct aiocb *aiocbp);
|
||||
int aio_fsync(int, FAR struct aiocb *aiocbp);
|
||||
int aio_read(FAR struct aiocb *aiocbp);
|
||||
ssize_t aio_return(FAR struct aiocb *aiocbp);
|
||||
int aio_suspend(FAR const struct aiocb *const list[], int nent,
|
||||
int aio_suspend(FAR const struct aiocb * const list[], int nent,
|
||||
FAR const struct timespec *timeout);
|
||||
int aio_write(FAR struct aiocb *aiocbp);
|
||||
int lio_listio(int mode, FAR struct aiocb *const list[], int nent,
|
||||
int lio_listio(int mode, FAR struct aiocb * const list[], int nent,
|
||||
FAR struct sigevent *sig);
|
||||
</pre></ul>
|
||||
|
||||
|
||||
+2
-2
@@ -166,10 +166,10 @@ int aio_error(FAR const struct aiocb *aiocbp);
|
||||
int aio_fsync(int op, FAR struct aiocb *aiocbp);
|
||||
int aio_read(FAR struct aiocb *aiocbp);
|
||||
ssize_t aio_return(FAR struct aiocb *aiocbp);
|
||||
int aio_suspend(FAR const struct aiocb *const list[], int nent,
|
||||
int aio_suspend(FAR const struct aiocb * const list[], int nent,
|
||||
FAR const struct timespec *timeout);
|
||||
int aio_write(FAR struct aiocb *aiocbp);
|
||||
int lio_listio(int mode, FAR struct aiocb *const list[], int nent,
|
||||
int lio_listio(int mode, FAR struct aiocb * const list[], int nent,
|
||||
FAR struct sigevent *sig);
|
||||
|
||||
#undef EXTERN
|
||||
|
||||
+1
-1
@@ -171,7 +171,7 @@ extern "C"
|
||||
|
||||
/* POSIX-like File System Interfaces */
|
||||
|
||||
int open(const char *path, int oflag, ...);
|
||||
int open(FAR const char *path, int oflag, ...);
|
||||
int fcntl(int fd, int cmd, ...);
|
||||
|
||||
#undef EXTERN
|
||||
|
||||
+2
-2
@@ -85,7 +85,7 @@ extern "C"
|
||||
********************************************************************************/
|
||||
|
||||
mqd_t mq_open(FAR const char *mq_name, int oflags, ...);
|
||||
int mq_close(mqd_t mqdes );
|
||||
int mq_close(mqd_t mqdes);
|
||||
int mq_unlink(FAR const char *mq_name);
|
||||
int mq_send(mqd_t mqdes, FAR const char *msg, size_t msglen,
|
||||
unsigned int prio);
|
||||
@@ -96,7 +96,7 @@ ssize_t mq_receive(mqd_t mqdes, FAR char *msg, size_t msglen,
|
||||
ssize_t mq_timedreceive(mqd_t mqdes, FAR char *msg, size_t msglen,
|
||||
FAR unsigned int *prio,
|
||||
FAR const struct timespec *abstime);
|
||||
int mq_notify(mqd_t mqdes, const struct sigevent *notification);
|
||||
int mq_notify(mqd_t mqdes, FAR const struct sigevent *notification);
|
||||
int mq_setattr(mqd_t mqdes, FAR const struct mq_attr *mq_stat,
|
||||
FAR struct mq_attr *oldstat);
|
||||
int mq_getattr(mqd_t mqdes, FAR struct mq_attr *mq_stat);
|
||||
|
||||
@@ -73,7 +73,7 @@ extern "C"
|
||||
*
|
||||
****************************************************************************/
|
||||
|
||||
int match(const char *pattern, const char *string);
|
||||
int match(FAR const char *pattern, FAR const char *string);
|
||||
|
||||
#undef EXTERN
|
||||
#ifdef __cplusplus
|
||||
|
||||
+15
-5
@@ -438,12 +438,12 @@ int pthread_attr_init(FAR pthread_attr_t *attr);
|
||||
|
||||
/* An attributes object can be deleted when it is no longer needed. */
|
||||
|
||||
int pthread_attr_destroy(pthread_attr_t *attr);
|
||||
int pthread_attr_destroy(FAR pthread_attr_t *attr);
|
||||
|
||||
/* Set or obtain the default scheduling algorithm */
|
||||
|
||||
int pthread_attr_setschedpolicy(FAR pthread_attr_t *attr, int policy);
|
||||
int pthread_attr_getschedpolicy(FAR const pthread_attr_t *attr, int *policy);
|
||||
int pthread_attr_getschedpolicy(FAR const pthread_attr_t *attr, FAR int *policy);
|
||||
int pthread_attr_setschedparam(FAR pthread_attr_t *attr,
|
||||
FAR const struct sched_param *param);
|
||||
int pthread_attr_getschedparam(FAR const pthread_attr_t *attr,
|
||||
@@ -466,7 +466,8 @@ int pthread_attr_getaffinity_np(FAR const pthread_attr_t *attr,
|
||||
/* Set or obtain the default stack size */
|
||||
|
||||
int pthread_attr_setstacksize(FAR pthread_attr_t *attr, size_t stacksize);
|
||||
int pthread_attr_getstacksize(FAR const pthread_attr_t *attr, size_t *stackaddr);
|
||||
int pthread_attr_getstacksize(FAR const pthread_attr_t *attr,
|
||||
FAR size_t *stackaddr);
|
||||
|
||||
/* Set or obtain stack address and size attributes */
|
||||
|
||||
@@ -566,8 +567,9 @@ int pthread_mutexattr_getpshared(FAR const pthread_mutexattr_t *attr,
|
||||
FAR int *pshared);
|
||||
int pthread_mutexattr_setpshared(FAR pthread_mutexattr_t *attr,
|
||||
int pshared);
|
||||
int pthread_mutexattr_gettype(const pthread_mutexattr_t *attr, int *type);
|
||||
int pthread_mutexattr_settype(pthread_mutexattr_t *attr, int type);
|
||||
int pthread_mutexattr_gettype(FAR const pthread_mutexattr_t *attr,
|
||||
FAR int *type);
|
||||
int pthread_mutexattr_settype(FAR pthread_mutexattr_t *attr, int type);
|
||||
int pthread_mutexattr_getprotocol(FAR const pthread_mutexattr_t *attr,
|
||||
FAR int *protocol);
|
||||
int pthread_mutexattr_setprotocol(FAR pthread_mutexattr_t *attr,
|
||||
@@ -682,9 +684,17 @@ int pthread_spin_unlock(FAR pthread_spinlock_t *lock);
|
||||
|
||||
#else /* __INCLUDE_PTHREAD_H */
|
||||
|
||||
/********************************************************************************
|
||||
* Included Files
|
||||
********************************************************************************/
|
||||
|
||||
#include <sys/types.h>
|
||||
#include <stdbool.h>
|
||||
|
||||
/********************************************************************************
|
||||
* Public Type Definitions
|
||||
********************************************************************************/
|
||||
|
||||
/* Avoid circular dependencies by assuring that simple type definitions are
|
||||
* available in any inclusion ordering.
|
||||
*/
|
||||
|
||||
+2
-2
@@ -252,8 +252,8 @@ void task_testcancel(void);
|
||||
|
||||
/* Task Scheduling Interfaces (based on POSIX APIs) */
|
||||
|
||||
int sched_setparam(pid_t pid, const struct sched_param *param);
|
||||
int sched_getparam(pid_t pid, struct sched_param *param);
|
||||
int sched_setparam(pid_t pid, FAR const struct sched_param *param);
|
||||
int sched_getparam(pid_t pid, FAR struct sched_param *param);
|
||||
int sched_setscheduler(pid_t pid, int policy,
|
||||
FAR const struct sched_param *param);
|
||||
int sched_getscheduler(pid_t pid);
|
||||
|
||||
+29
-16
@@ -51,6 +51,7 @@
|
||||
/****************************************************************************
|
||||
* Pre-processor Definitions
|
||||
****************************************************************************/
|
||||
|
||||
/* Configuration ************************************************************/
|
||||
|
||||
#ifndef CONFIG_TASK_SPAWN_DEFAULT_STACKSIZE
|
||||
@@ -71,6 +72,7 @@
|
||||
/****************************************************************************
|
||||
* Type Definitions
|
||||
****************************************************************************/
|
||||
|
||||
/* "The spawn.h header shall define the posix_spawnattr_t and
|
||||
* posix_spawn_file_actions_t types used in performing spawn operations.
|
||||
*
|
||||
@@ -88,7 +90,7 @@ struct posix_spawnattr_s
|
||||
uint8_t policy; /* Task scheduling policy */
|
||||
|
||||
#ifdef CONFIG_SCHED_SPORADIC
|
||||
uint8_t low_priority; /* Low scheduling priority*/
|
||||
uint8_t low_priority; /* Low scheduling priority */
|
||||
uint8_t max_repl; /* Maximum pending replenishments */
|
||||
#endif
|
||||
|
||||
@@ -121,6 +123,7 @@ typedef FAR void *posix_spawn_file_actions_t;
|
||||
/****************************************************************************
|
||||
* Public Function Prototypes
|
||||
****************************************************************************/
|
||||
|
||||
/* "The following shall be declared as functions and may also be defined as
|
||||
* macros. Function prototypes shall be provided."
|
||||
*/
|
||||
@@ -131,6 +134,7 @@ extern "C"
|
||||
#endif
|
||||
|
||||
/* Spawn interfaces *********************************************************/
|
||||
|
||||
/* Standard posix_spawn[p] interfaces. These functions execute files in the
|
||||
* file system at 'path'
|
||||
*/
|
||||
@@ -139,14 +143,14 @@ extern "C"
|
||||
int posix_spawnp(FAR pid_t *pid, FAR const char *path,
|
||||
FAR const posix_spawn_file_actions_t *file_actions,
|
||||
FAR const posix_spawnattr_t *attr,
|
||||
FAR char *const argv[], FAR char *const envp[]);
|
||||
FAR char * const argv[], FAR char * const envp[]);
|
||||
#define posix_spawn(pid,path,file_actions,attr,argv,envp) \
|
||||
posix_spawnp(pid,path,file_actions,attr,argv,envp)
|
||||
#else
|
||||
int posix_spawn(FAR pid_t *pid, FAR const char *path,
|
||||
FAR const posix_spawn_file_actions_t *file_actions,
|
||||
FAR const posix_spawnattr_t *attr,
|
||||
FAR char *const argv[], FAR char *const envp[]);
|
||||
FAR char * const argv[], FAR char * const envp[]);
|
||||
#define posix_spawnp(pid,path,file_actions,attr,argv,envp) \
|
||||
posix_spawn(pid,path,file_actions,attr,argv,envp)
|
||||
#endif
|
||||
@@ -160,25 +164,32 @@ int posix_spawn(FAR pid_t *pid, FAR const char *path,
|
||||
int task_spawn(FAR pid_t *pid, FAR const char *name, main_t entry,
|
||||
FAR const posix_spawn_file_actions_t *file_actions,
|
||||
FAR const posix_spawnattr_t *attr,
|
||||
FAR char *const argv[], FAR char *const envp[]);
|
||||
FAR char * const argv[], FAR char * const envp[]);
|
||||
#endif
|
||||
|
||||
/* File action interfaces ***************************************************/
|
||||
|
||||
/* File action initialization and destruction */
|
||||
|
||||
int posix_spawn_file_actions_init(FAR posix_spawn_file_actions_t *file_actions);
|
||||
int posix_spawn_file_actions_destroy(FAR posix_spawn_file_actions_t *file_actions);
|
||||
int posix_spawn_file_actions_init(
|
||||
FAR posix_spawn_file_actions_t *file_actions);
|
||||
int posix_spawn_file_actions_destroy(
|
||||
FAR posix_spawn_file_actions_t *file_actions);
|
||||
|
||||
/* Add file action interfaces */
|
||||
|
||||
int posix_spawn_file_actions_addclose(FAR posix_spawn_file_actions_t *file_actions,
|
||||
int posix_spawn_file_actions_addclose(
|
||||
FAR posix_spawn_file_actions_t *file_actions,
|
||||
int fd);
|
||||
int posix_spawn_file_actions_adddup2(FAR posix_spawn_file_actions_t *file_actions,
|
||||
int posix_spawn_file_actions_adddup2(
|
||||
FAR posix_spawn_file_actions_t *file_actions,
|
||||
int fd1, int fd2);
|
||||
int posix_spawn_file_actions_addopen(FAR posix_spawn_file_actions_t *file_actions,
|
||||
int posix_spawn_file_actions_addopen(
|
||||
FAR posix_spawn_file_actions_t *file_actions,
|
||||
int fd, FAR const char *path, int oflags, mode_t mode);
|
||||
|
||||
/* Spawn attributes interfaces **********************************************/
|
||||
|
||||
/* Spawn attributes initialization and destruction */
|
||||
|
||||
int posix_spawnattr_init(FAR posix_spawnattr_t *attr);
|
||||
@@ -188,12 +199,13 @@ int posix_spawnattr_init(FAR posix_spawnattr_t *attr);
|
||||
|
||||
/* Get spawn attributes interfaces */
|
||||
|
||||
int posix_spawnattr_getflags(FAR const posix_spawnattr_t *attr, FAR short *flags);
|
||||
int posix_spawnattr_getflags(FAR const posix_spawnattr_t *attr,
|
||||
FAR short *flags);
|
||||
#define posix_spawnattr_getpgroup(attr,group) (ENOSYS)
|
||||
int posix_spawnattr_getschedparam(FAR const posix_spawnattr_t *attr,
|
||||
FAR struct sched_param *param);
|
||||
FAR struct sched_param *param);
|
||||
int posix_spawnattr_getschedpolicy(FAR const posix_spawnattr_t *attr,
|
||||
FAR int *policy);
|
||||
FAR int *policy);
|
||||
#define posix_spawnattr_getsigdefault(attr,sigdefault) (ENOSYS)
|
||||
int posix_spawnattr_getsigmask(FAR const posix_spawnattr_t *attr,
|
||||
FAR sigset_t *sigmask);
|
||||
@@ -203,7 +215,7 @@ int posix_spawnattr_getsigmask(FAR const posix_spawnattr_t *attr,
|
||||
int posix_spawnattr_setflags(FAR posix_spawnattr_t *attr, short flags);
|
||||
#define posix_spawnattr_setpgroup(attr,group) (ENOSYS)
|
||||
int posix_spawnattr_setschedparam(FAR posix_spawnattr_t *attr,
|
||||
FAR const struct sched_param *param);
|
||||
FAR const struct sched_param *param);
|
||||
int posix_spawnattr_setschedpolicy(FAR posix_spawnattr_t *attr, int policy);
|
||||
#define posix_spawnattr_setsigdefault(attr,sigdefault) (ENOSYS)
|
||||
int posix_spawnattr_setsigmask(FAR posix_spawnattr_t *attr,
|
||||
@@ -214,14 +226,15 @@ int posix_spawnattr_setsigmask(FAR posix_spawnattr_t *attr,
|
||||
*/
|
||||
|
||||
int task_spawnattr_getstacksize(FAR const posix_spawnattr_t *attr,
|
||||
size_t *stacksize);
|
||||
size_t *stacksize);
|
||||
int task_spawnattr_setstacksize(FAR posix_spawnattr_t *attr,
|
||||
size_t stacksize);
|
||||
size_t stacksize);
|
||||
|
||||
/* Non standard debug functions */
|
||||
|
||||
#ifdef CONFIG_DEBUG_FEATURES
|
||||
void posix_spawn_file_actions_dump(FAR posix_spawn_file_actions_t *file_actions);
|
||||
void posix_spawn_file_actions_dump(
|
||||
FAR posix_spawn_file_actions_t *file_actions);
|
||||
void posix_spawnattr_dump(FAR posix_spawnattr_t *attr);
|
||||
#else
|
||||
# define posix_spawn_file_actions_dump(fa)
|
||||
|
||||
+3
-3
@@ -141,7 +141,7 @@ extern "C"
|
||||
|
||||
/* Operations on streams (FILE) */
|
||||
|
||||
void clearerr(register FILE *stream);
|
||||
void clearerr(FAR FILE *stream);
|
||||
int fclose(FAR FILE *stream);
|
||||
int fflush(FAR FILE *stream);
|
||||
int feof(FAR FILE *stream);
|
||||
@@ -149,7 +149,7 @@ int ferror(FAR FILE *stream);
|
||||
int fileno(FAR FILE *stream);
|
||||
int fgetc(FAR FILE *stream);
|
||||
int fgetpos(FAR FILE *stream, FAR fpos_t *pos);
|
||||
char *fgets(FAR char *s, int n, FAR FILE *stream);
|
||||
FAR char *fgets(FAR char *s, int n, FAR FILE *stream);
|
||||
FAR FILE *fopen(FAR const char *path, FAR const char *type);
|
||||
int fprintf(FAR FILE *stream, FAR const IPTR char *format, ...);
|
||||
int fputc(int c, FAR FILE *stream);
|
||||
@@ -181,7 +181,7 @@ int printf(FAR const IPTR char *fmt, ...);
|
||||
int puts(FAR const char *s);
|
||||
int rename(FAR const char *oldpath, FAR const char *newpath);
|
||||
int sprintf(FAR char *buf, FAR const IPTR char *fmt, ...);
|
||||
int asprintf (FAR char **ptr, FAR const IPTR char *fmt, ...);
|
||||
int asprintf(FAR char **ptr, FAR const IPTR char *fmt, ...);
|
||||
int snprintf(FAR char *buf, size_t size,
|
||||
FAR const IPTR char *fmt, ...);
|
||||
int sscanf(FAR const char *buf, FAR const IPTR char *fmt, ...);
|
||||
|
||||
+14
-13
@@ -48,8 +48,8 @@
|
||||
* Pre-processor Definitions
|
||||
****************************************************************************/
|
||||
|
||||
/* The socket()domain parameter specifies a communication domain; this selects
|
||||
* the protocol family which will be used for communication.
|
||||
/* The socket()domain parameter specifies a communication domain; this
|
||||
* selects the protocol family which will be used for communication.
|
||||
*/
|
||||
|
||||
/* Supported Protocol Families */
|
||||
@@ -104,7 +104,7 @@
|
||||
* required to read an entire packet with each read
|
||||
* system call.
|
||||
*/
|
||||
#define SOCK_PACKET 10 /* Obsolete and should not be used in new programs */
|
||||
#define SOCK_PACKET 10 /* Obsolete and should not be used in new programs */
|
||||
|
||||
/* Bits in the FLAGS argument to `send', `recv', et al. These are the bits
|
||||
* recognized by Linux, not all are supported by NuttX.
|
||||
@@ -254,14 +254,14 @@
|
||||
* Type Definitions
|
||||
****************************************************************************/
|
||||
|
||||
/* sockaddr_storage structure. This structure must be (1) large enough to
|
||||
* accommodate all supported protocol-specific address structures, and (2)
|
||||
* aligned at an appropriate boundary so that pointers to it can be cast
|
||||
* as pointers to protocol-specific address structures and used to access
|
||||
* the fields of those structures without alignment problems.
|
||||
*
|
||||
* REVISIT: sizeof(struct sockaddr_storge) should be 128 bytes.
|
||||
*/
|
||||
/* sockaddr_storage structure. This structure must be (1) large enough to
|
||||
* accommodate all supported protocol-specific address structures, and (2)
|
||||
* aligned at an appropriate boundary so that pointers to it can be cast
|
||||
* as pointers to protocol-specific address structures and used to access
|
||||
* the fields of those structures without alignment problems.
|
||||
*
|
||||
* REVISIT: sizeof(struct sockaddr_storge) should be 128 bytes.
|
||||
*/
|
||||
|
||||
#ifdef CONFIG_NET_IPv6
|
||||
struct sockaddr_storage
|
||||
@@ -324,7 +324,8 @@ static inline FAR struct cmsghdr *__cmsg_nxthdr(FAR void *__ctl,
|
||||
{
|
||||
FAR struct cmsghdr *__ptr;
|
||||
|
||||
__ptr = (FAR struct cmsghdr *)(((FAR char *)__cmsg) + CMSG_ALIGN(__cmsg->cmsg_len));
|
||||
__ptr = (FAR struct cmsghdr *)
|
||||
(((FAR char *)__cmsg) + CMSG_ALIGN(__cmsg->cmsg_len));
|
||||
if ((unsigned long)((FAR char *)(__ptr + 1) - (FAR char *)__ctl) > __size)
|
||||
{
|
||||
return (FAR struct cmsghdr *)NULL;
|
||||
@@ -357,7 +358,7 @@ int bind(int sockfd, FAR const struct sockaddr *addr, socklen_t addrlen);
|
||||
int connect(int sockfd, FAR const struct sockaddr *addr, socklen_t addrlen);
|
||||
|
||||
int listen(int sockfd, int backlog);
|
||||
int accept(int sockfd, struct sockaddr *addr, socklen_t *addrlen);
|
||||
int accept(int sockfd, FAR struct sockaddr *addr, FAR socklen_t *addrlen);
|
||||
|
||||
ssize_t send(int sockfd, FAR const void *buf, size_t len, int flags);
|
||||
ssize_t sendto(int sockfd, FAR const void *buf, size_t len, int flags,
|
||||
|
||||
+2
-2
@@ -345,7 +345,7 @@ ssize_t readlink(FAR const char *path, FAR char *buf, size_t bufsize);
|
||||
|
||||
#ifdef CONFIG_LIBC_EXECFUNCS
|
||||
int execl(FAR const char *path, ...);
|
||||
int execv(FAR const char *path, FAR char *const argv[]);
|
||||
int execv(FAR const char *path, FAR char * const argv[]);
|
||||
#endif
|
||||
|
||||
/* Byte operations */
|
||||
@@ -354,7 +354,7 @@ void swab(FAR const void *src, FAR void *dest, ssize_t nbytes);
|
||||
|
||||
/* getopt and friends */
|
||||
|
||||
int getopt(int argc, FAR char *const argv[], FAR const char *optstring);
|
||||
int getopt(int argc, FAR char * const argv[], FAR const char *optstring);
|
||||
|
||||
/* Accessor functions intended for use only by external NXFLAT
|
||||
* modules. The global variables optarg, optind, and optopt cannot
|
||||
|
||||
+5
-18
@@ -53,6 +53,7 @@
|
||||
/****************************************************************************
|
||||
* Pre-processor Definitions
|
||||
****************************************************************************/
|
||||
|
||||
/* <wchar.h> defines the following macro names:
|
||||
*
|
||||
* WCHAR_MAX
|
||||
@@ -143,6 +144,7 @@ extern "C"
|
||||
/****************************************************************************
|
||||
* Public Function Prototypes
|
||||
****************************************************************************/
|
||||
|
||||
/* "The <wchar.h> header declares the following as functions and may also
|
||||
* define them as macros. Function prototypes must be provided for use with
|
||||
* an ISO C compiler."
|
||||
@@ -153,18 +155,6 @@ extern "C"
|
||||
wint_t btowc(int);
|
||||
int fwprintf(FILE *, FAR const wchar_t *, ...);
|
||||
int fwscanf(FILE *, FAR const wchar_t *, ...);
|
||||
int iswalnum(wint_t);
|
||||
int iswalpha(wint_t);
|
||||
int iswcntrl(wint_t);
|
||||
int iswdigit(wint_t);
|
||||
int iswgraph(wint_t);
|
||||
int iswlower(wint_t);
|
||||
int iswprint(wint_t);
|
||||
int iswpunct(wint_t);
|
||||
int iswspace(wint_t);
|
||||
int iswupper(wint_t);
|
||||
int iswxdigit(wint_t);
|
||||
int iswctype(wint_t, wctype_t);
|
||||
wint_t fgetwc(FILE *);
|
||||
FAR wchar_t *fgetws(wchar_t *, int, FILE *);
|
||||
wint_t fputwc(wchar_t, FILE *);
|
||||
@@ -174,8 +164,8 @@ wint_t getwc(FILE *);
|
||||
wint_t getwchar(void);
|
||||
int mbsinit(FAR const mbstate_t *);
|
||||
size_t mbrlen(FAR const char *, size_t, FAR mbstate_t *);
|
||||
size_t mbrtowc(wchar_t *, FAR const char *, size_t,
|
||||
mbstate_t *);
|
||||
size_t mbrtowc(FAR wchar_t *, FAR const char *, size_t,
|
||||
FAR mbstate_t *);
|
||||
size_t mbsnrtowcs(FAR wchar_t *, FAR const char **, size_t,
|
||||
size_t, FAR mbstate_t *);
|
||||
size_t mbsrtowcs(wchar_t *, FAR const char **, size_t,
|
||||
@@ -184,8 +174,6 @@ wint_t putwc(wchar_t, FILE *);
|
||||
wint_t putwchar(wchar_t);
|
||||
int swprintf(FAR wchar_t *, size_t, FAR const wchar_t *, ...);
|
||||
int swscanf(FAR const wchar_t *, FAR const wchar_t *, ...);
|
||||
wint_t towlower(wint_t);
|
||||
wint_t towupper(wint_t);
|
||||
wint_t ungetwc(wint_t, FILE *);
|
||||
int vfwprintf(FILE *, FAR const wchar_t *, va_list);
|
||||
int vwprintf(FAR const wchar_t *, va_list);
|
||||
@@ -228,9 +216,8 @@ unsigned long int wcstoul(FAR const wchar_t *, FAR wchar_t **, int);
|
||||
unsigned long long int wcstoull(FAR const wchar_t *, FAR wchar_t **, int);
|
||||
FAR wchar_t *wcswcs(FAR const wchar_t *, FAR const wchar_t *);
|
||||
int wcswidth(FAR const wchar_t *, size_t);
|
||||
size_t wcsxfrm(wchar_t *, FAR const wchar_t *, size_t);
|
||||
size_t wcsxfrm(FAR wchar_t *, FAR const wchar_t *, size_t);
|
||||
int wctob(wint_t);
|
||||
wctype_t wctype(FAR const char *);
|
||||
int wcwidth(wchar_t);
|
||||
FAR wchar_t *wmemchr(FAR const wchar_t *, wchar_t, size_t);
|
||||
int wmemcmp(FAR const wchar_t *, FAR const wchar_t *, size_t);
|
||||
|
||||
@@ -113,7 +113,6 @@ int towctrans(wint_t, wctrans_t);
|
||||
wint_t towlower(wint_t);
|
||||
wint_t towupper(wint_t);
|
||||
wctrans_t wctrans(FAR const char *);
|
||||
int iswctype(wint_t, wctype_t);
|
||||
wctype_t wctype(FAR const char *);
|
||||
|
||||
#undef EXTERN
|
||||
|
||||
@@ -96,7 +96,7 @@
|
||||
*
|
||||
****************************************************************************/
|
||||
|
||||
int aio_suspend(FAR const struct aiocb *const list[], int nent,
|
||||
int aio_suspend(FAR const struct aiocb * const list[], int nent,
|
||||
FAR const struct timespec *timeout)
|
||||
{
|
||||
sigset_t set;
|
||||
|
||||
@@ -181,6 +181,7 @@ static void lio_sighandler(int signo, siginfo_t *info, void *ucontext)
|
||||
if (ret != -EINPROGRESS)
|
||||
{
|
||||
/* All pending I/O has completed */
|
||||
|
||||
/* Restore the signal handler */
|
||||
|
||||
sigaction(SIGPOLL, &sighand->oact, NULL);
|
||||
@@ -235,7 +236,7 @@ static int lio_sigsetup(FAR struct aiocb * const *list, int nent,
|
||||
|
||||
/* Allocate a structure to pass data to the signal handler */
|
||||
|
||||
sighand = (FAR struct lio_sighand_s *)lib_zalloc(sizeof(struct lio_sighand_s));
|
||||
sighand = lib_zalloc(sizeof(struct lio_sighand_s));
|
||||
if (!sighand)
|
||||
{
|
||||
ferr("ERROR: lib_zalloc failed\n");
|
||||
@@ -494,12 +495,12 @@ static int lio_waitall(FAR struct aiocb * const *list, int nent)
|
||||
* EIO, then some of the I/O specified by the list may have been initiated.
|
||||
* If the lio_listio() function fails with an error code other than EAGAIN,
|
||||
* EINTR, or EIO, no operations from the list will have been initiated. The
|
||||
* I/O operation indicated by each list element can encounter errors specific
|
||||
* to the individual read or write function being performed. In this event,
|
||||
* the error status for each aiocb control block contains the associated
|
||||
* error code. The error codes that can be set are the same as would be
|
||||
* set by a read() or write() function, with the following additional
|
||||
* error codes possible:
|
||||
* I/O operation indicated by each list element can encounter errors
|
||||
* specific to the individual read or write function being performed. In
|
||||
* this event, the error status for each aiocb control block contains the
|
||||
* associated error code. The error codes that can be set are the same as
|
||||
* would be set by a read() or write() function, with the following
|
||||
* additional error codes possible:
|
||||
*
|
||||
* EAGAIN - The requested I/O operation was not queued due to resource
|
||||
* limitations.
|
||||
@@ -518,7 +519,7 @@ static int lio_waitall(FAR struct aiocb * const *list, int nent)
|
||||
*
|
||||
****************************************************************************/
|
||||
|
||||
int lio_listio(int mode, FAR struct aiocb *const list[], int nent,
|
||||
int lio_listio(int mode, FAR struct aiocb * const list[], int nent,
|
||||
FAR struct sigevent *sig)
|
||||
{
|
||||
FAR struct aiocb *aiocbp;
|
||||
@@ -605,7 +606,8 @@ int lio_listio(int mode, FAR struct aiocb *const list[], int nent,
|
||||
{
|
||||
/* Make the invalid operation complete with an error */
|
||||
|
||||
ferr("ERROR: Unrecognized opcode: %d\n", aiocbp->aio_lio_opcode);
|
||||
ferr("ERROR: Unrecognized opcode: %d\n",
|
||||
aiocbp->aio_lio_opcode);
|
||||
aiocbp->aio_result = -EINVAL;
|
||||
ret = ERROR;
|
||||
}
|
||||
|
||||
+93
-92
@@ -1,49 +1,48 @@
|
||||
"__errno","errno.h","defined(CONFIG_BUILD_FLAT)","FAR int *"
|
||||
"_alert","debug.h","!defined(CONFIG_CPP_HAVE_VARARGS) && defined(CONFIG_DEBUG_ERROR)","int","FAR const char *","..."
|
||||
"_err","debug.h","!defined(CONFIG_CPP_HAVE_VARARGS) && defined(CONFIG_DEBUG_ERROR)","int","FAR const char *","..."
|
||||
"_info","debug.h","!defined(CONFIG_CPP_HAVE_VARARGS) && defined(CONFIG_DEBUG_INFO)","int","FAR const char *","..."
|
||||
"_warn","debug.h","!defined(CONFIG_CPP_HAVE_VARARGS) && defined(CONFIG_DEBUG_WARN)","int","FAR const char *","..."
|
||||
"_alert","debug.h","!defined(CONFIG_CPP_HAVE_VARARGS) && defined(CONFIG_DEBUG_ERROR)","void","FAR const char *","..."
|
||||
"_err","debug.h","!defined(CONFIG_CPP_HAVE_VARARGS) && defined(CONFIG_DEBUG_ERROR)","void","FAR const char *","..."
|
||||
"_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"
|
||||
"abs","stdlib.h","","int","int"
|
||||
"aio_error","aio.h","defined(CONFIG_FS_AIO)","int","FAR struct aiocb *"
|
||||
"aio_return","aio.h","defined(CONFIG_FS_AIO)","ssize_t","FAR struct aiocb *"
|
||||
"aio_suspend","aio.h","defined(CONFIG_FS_AIO)","int","FAR struct aiocb *const []|FAR struct aiocb *const *","int","FAR const struct timespec *"
|
||||
"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"
|
||||
"asprintf","stdio.h","","int","FAR char **","FAR const char *","..."
|
||||
"vasprintf","stdio.h","","int","FAR char **","FAR const char *","va_list"
|
||||
"b16atan2","fixedmath.h","!defined(CONFIG_HAVE_LONG_LONG)","b16_t","b16_t","b16_t"
|
||||
"b16cos","fixedmath.h","","b16_t","b16_t"
|
||||
"b16divb16","fixedmath.h","!defined(CONFIG_HAVE_LONG_LONG)","b16_t","b16_t","b16_t"
|
||||
"b16mulb16","fixedmath.h","!defined(CONFIG_HAVE_LONG_LONG)","b16_t","b16_t","b16_t"
|
||||
"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 *"
|
||||
"basename","libgen.h","","FAR char *","FAR char *"
|
||||
"cfgetspeed","termios.h","defined(CONFIG_SERIAL_TERMIOS)","speed_t","FAR const struct termios *"
|
||||
"cfsetspeed","termios.h","defined(CONFIG_SERIAL_TERMIOS)","int","FAR struct termios *","speed_t"
|
||||
"chdir","unistd.h","!defined(CONFIG_DISABLE_ENVIRON)","int","FAR const char *"
|
||||
"clock","time.h","","clock_t"
|
||||
"crc32","crc32.h","","uint32_t","FAR const uint8_t *","size_t"
|
||||
"crc32part","crc32.h","","uint32_t","FAR const uint8_t *","size_t","uint32_t"
|
||||
"dirname","libgen.h","","FAR char","FAR char *"
|
||||
"dirname","libgen.h","","FAR char *","FAR char *"
|
||||
"dq_addafter","queue.h","","void","FAR dq_entry_t *","FAR dq_entry_t *","FAR dq_queue_t *"
|
||||
"dq_addbefore","queue.h","","void","FAR dq_entry_t *","FAR dq_entry_t *","FAR dq_queue_t *"
|
||||
"dq_addfirst","queue.h","","void","FAR dq_entry_t *","dq_queue_t *"
|
||||
"dq_addlast","queue.h","","void","FAR dq_entry_t *","dq_queue_t *"
|
||||
"dq_rem","queue.h","","void","FAR dq_entry_t *","dq_queue_t *"
|
||||
"dq_remfirst","queue.h","","FAR dq_entry_t","dq_queue_t *"
|
||||
"dq_remlast","queue.h","","FAR dq_entry_t","dq_queue_t *"
|
||||
"ether_ntoa","netinet/ether.h","","FAR char","FAR const struct ether_addr *"
|
||||
"dq_addfirst","queue.h","","void","FAR dq_entry_t *","FAR dq_queue_t *"
|
||||
"dq_addlast","queue.h","","void","FAR dq_entry_t *","FAR dq_queue_t *"
|
||||
"dq_rem","queue.h","","void","FAR dq_entry_t *","FAR dq_queue_t *"
|
||||
"dq_remfirst","queue.h","","FAR dq_entry_t *","FAR dq_queue_t *"
|
||||
"dq_remlast","queue.h","","FAR dq_entry_t *","FAR dq_queue_t *"
|
||||
"ether_ntoa","netinet/ether.h","","FAR char *","FAR const struct ether_addr *"
|
||||
"fclose","stdio.h","CONFIG_NFILE_STREAMS > 0","int","FAR FILE *"
|
||||
"fdopen","stdio.h","CONFIG_NFILE_STREAMS > 0","FAR FILE","int","FAR const char *"
|
||||
"fdopen","stdio.h","CONFIG_NFILE_STREAMS > 0","FAR FILE *","int","FAR const char *"
|
||||
"fflush","stdio.h","CONFIG_NFILE_STREAMS > 0","int","FAR FILE *"
|
||||
"ffs","strings.h","","int","int"
|
||||
"fgetc","stdio.h","CONFIG_NFILE_STREAMS > 0","int","FAR FILE *"
|
||||
"fgetpos","stdio.h","CONFIG_NFILE_STREAMS > 0","int","FAR FILE *","FAR fpos_t *"
|
||||
"fgets","stdio.h","CONFIG_NFILE_STREAMS > 0","FAR char","FAR char *","int","FAR FILE *"
|
||||
"fgets","stdio.h","CONFIG_NFILE_STREAMS > 0","FAR char *","FAR char *","int","FAR FILE *"
|
||||
"fileno","stdio.h","","int","FAR FILE *"
|
||||
"fopen","stdio.h","CONFIG_NFILE_STREAMS > 0","FAR FILE","FAR const char *","FAR const char *"
|
||||
"fopen","stdio.h","CONFIG_NFILE_STREAMS > 0","FAR FILE *","FAR const char *","FAR const char *"
|
||||
"fprintf","stdio.h","CONFIG_NFILE_STREAMS > 0","int","FAR FILE *","FAR const char *","..."
|
||||
"fputc","stdio.h","CONFIG_NFILE_STREAMS > 0","int","int c","FAR FILE *"
|
||||
"fputc","stdio.h","CONFIG_NFILE_STREAMS > 0","int","int","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 *"
|
||||
@@ -51,20 +50,20 @@
|
||||
"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 *"
|
||||
"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 *"
|
||||
"getoptargp","unistd.h","","FAR char *"
|
||||
"getoptindp","unistd.h","","int"
|
||||
"getoptoptp","unistd.h","","int"
|
||||
"gets","stdio.h","CONFIG_NFILE_STREAMS > 0","FAR char","FAR char *"
|
||||
"gmtime","time.h","","struct tm","FAR const time_t *"
|
||||
"gmtime_r","time.h","","FAR struct tm","FAR const time_t *","FAR struct tm *"
|
||||
"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 char * const *","FAR const char *"
|
||||
"getoptargp","unistd.h","","FAR char **"
|
||||
"getoptindp","unistd.h","","FAR int *"
|
||||
"getoptoptp","unistd.h","","FAR int *"
|
||||
"gets","stdio.h","CONFIG_NFILE_STREAMS > 0","FAR char *","FAR char *"
|
||||
"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"
|
||||
"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"
|
||||
"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"
|
||||
"inet_ntop","arpa/inet.h","","FAR const char","int","FAR const void *","FAR char *","socklen_t"
|
||||
"inet_pton","arpa/inet.h","","int","int","FAR const char *","FAR void *"
|
||||
"iswalnum","wctype.h","defined(CONFIG_LIBC_WCHAR)","int","wint_t"
|
||||
@@ -82,67 +81,68 @@
|
||||
"iswxdigit","wctype.h","defined(CONFIG_LIBC_WCHAR)","int","wint_t"
|
||||
"labs","stdlib.h","","long int","long int"
|
||||
"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 *"
|
||||
"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 *"
|
||||
"mbtowc","wchar.h","defined(CONFIG_LIBC_WCHAR)","int","wchar_t *","FAR const wchar_t *","size_t"
|
||||
"memccpy","string.h","","FAR void","FAR void *","FAR const void *","int c","size_t"
|
||||
"memchr","string.h","","FAR void","FAR const void *","int c","size_t"
|
||||
"mbrtowc","wchar.h","defined(CONFIG_LIBC_WCHAR)","size_t","FAR wchar_t *","FAR const char *","size_t","FAR mbstate_t *"
|
||||
"mbsnrtowcs","wchar.h","defined(CONFIG_LIBC_WCHAR)","size_t","FAR wchar_t *","FAR const char **","size_t","size_t","FAR mbstate_t *"
|
||||
"mbtowc","stdlib.h","defined(CONFIG_LIBC_WCHAR)","int","FAR wchar_t *","FAR const wchar_t *","size_t"
|
||||
"memccpy","string.h","","FAR void *","FAR void *","FAR const void *","int","size_t"
|
||||
"memchr","string.h","","FAR void *","FAR const void *","int","size_t"
|
||||
"memcmp","string.h","","int","FAR const void *","FAR const void *","size_t"
|
||||
"memcpy","string.h","","FAR void","FAR void *","FAR const void *","size_t"
|
||||
"memmove","string.h","","FAR void","FAR void *","FAR const void *","size_t"
|
||||
"memset","string.h","","FAR void","FAR void *","int c","size_t"
|
||||
"mkfifo","sys/stat.h","","int","FAR const char*","mode_t"
|
||||
"mktime","time.h","","time_t","FAR const struct tm *"
|
||||
"memcpy","string.h","","FAR void *","FAR void *","FAR const void *","size_t"
|
||||
"memmove","string.h","","FAR void *","FAR void *","FAR const void *","size_t"
|
||||
"memset","string.h","","FAR void *","FAR void *","int","size_t"
|
||||
"mkfifo","sys/stat.h","","int","FAR const char *","mode_t"
|
||||
"mktime","time.h","","time_t","FAR struct tm *"
|
||||
"ntohl","arpa/inet.h","","uint32_t","uint32_t"
|
||||
"ntohs","arpa/inet.h","","uint16_t","uint16_t"
|
||||
"perror","stdio.h","CONFIG_NFILE_STREAMS > 0","void","FAR const char *"
|
||||
"pipe","unistd.h","","int","int [2]|int*"
|
||||
"pipe","unistd.h","","int","int [2]|FAR int *"
|
||||
"printf","stdio.h","","int","FAR const char *","..."
|
||||
"pthread_attr_destroy","pthread.h","!defined(CONFIG_DISABLE_PTHREAD)","int","FAR pthread_attr_t *"
|
||||
"pthread_attr_getinheritsched","pthread.h","!defined(CONFIG_DISABLE_PTHREAD)","int","FAR const pthread_attr_t *","FAR int *"
|
||||
"pthread_attr_getschedparam","pthread.h","!defined(CONFIG_DISABLE_PTHREAD)","int","FAR pthread_attr_t *","FAR struct sched_param *"
|
||||
"pthread_attr_getschedpolicy","pthread.h","!defined(CONFIG_DISABLE_PTHREAD)","int","FAR pthread_attr_t *","int *"
|
||||
"pthread_attr_getstacksize","pthread.h","!defined(CONFIG_DISABLE_PTHREAD)","int","FAR pthread_attr_t *","FAR size_t *"
|
||||
"pthread_attr_getschedparam","pthread.h","!defined(CONFIG_DISABLE_PTHREAD)","int","FAR const pthread_attr_t *","FAR struct sched_param *"
|
||||
"pthread_attr_getschedpolicy","pthread.h","!defined(CONFIG_DISABLE_PTHREAD)","int","FAR const pthread_attr_t *","FAR int *"
|
||||
"pthread_attr_getstacksize","pthread.h","!defined(CONFIG_DISABLE_PTHREAD)","int","FAR const pthread_attr_t *","FAR size_t *"
|
||||
"pthread_attr_init","pthread.h","!defined(CONFIG_DISABLE_PTHREAD)","int","FAR pthread_attr_t *"
|
||||
"pthread_attr_setinheritsched","pthread.h","!defined(CONFIG_DISABLE_PTHREAD)","int","FAR pthread_attr_t *","int"
|
||||
"pthread_attr_setschedparam","pthread.h","!defined(CONFIG_DISABLE_PTHREAD)","int","FAR pthread_attr_t *","FAR const struct sched_param *"
|
||||
"pthread_attr_setschedpolicy","pthread.h","!defined(CONFIG_DISABLE_PTHREAD)","int","FAR pthread_attr_t *","int"
|
||||
"pthread_attr_setstacksize","pthread.h","!defined(CONFIG_DISABLE_PTHREAD)","int","FAR pthread_attr_t *","size_t"
|
||||
"pthread_barrier_destroy","pthread.h","!defined(CONFIG_DISABLE_PTHREAD)","int","FAR pthread_barrier_t *"
|
||||
"pthread_barrier_init","pthread.h","!defined(CONFIG_DISABLE_PTHREAD)","int","FAR pthread_barrier_t *","FAR const pthread_barrierattr_t *","unsigned int"
|
||||
"pthread_barrier_wait","pthread.h","!defined(CONFIG_DISABLE_PTHREAD)","int","FAR pthread_barrier_t *"
|
||||
"pthread_barrierattr_destroy","pthread.h","!defined(CONFIG_DISABLE_PTHREAD)","int","FAR pthread_barrierattr_t *"
|
||||
"pthread_barrierattr_getpshared","pthread.h","!defined(CONFIG_DISABLE_PTHREAD)","int","FAR const pthread_barrierattr_t *","FAR int *"
|
||||
"pthread_barrierattr_init","pthread.h","!defined(CONFIG_DISABLE_PTHREAD)","int","FAR pthread_barrierattr_t *"
|
||||
"pthread_barrierattr_setpshared","pthread.h","!defined(CONFIG_DISABLE_PTHREAD)","int","FAR pthread_barrierattr_t *","int"
|
||||
"pthread_barrier_destroy","pthread.h","!defined(CONFIG_DISABLE_PTHREAD)","int","FAR pthread_barrier_t*"
|
||||
"pthread_barrier_init","pthread.h","!defined(CONFIG_DISABLE_PTHREAD)","int","FAR pthread_barrier_t*","FAR const pthread_barrierattr_t*","unsigned int"
|
||||
"pthread_barrier_wait","pthread.h","!defined(CONFIG_DISABLE_PTHREAD)","int","FAR pthread_barrier_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_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_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_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 *"
|
||||
"pthread_mutexattr_gettype","pthread.h","!defined(CONFIG_DISABLE_PTHREAD) && defined(CONFIG_PTHREAD_MUTEX_TYPES)","int","FAR const pthread_mutexattr_t *","FAR int *"
|
||||
"pthread_mutexattr_init","pthread.h","!defined(CONFIG_DISABLE_PTHREAD)","int","FAR pthread_mutexattr_t *"
|
||||
"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","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_yield","pthread.h","!defined(CONFIG_DISABLE_PTHREAD)","void"
|
||||
"puts","stdio.h","CONFIG_NFILE_STREAMS > 0","int","FAR const char *"
|
||||
"qsort","stdlib.h","","void","void *","size_t","size_t","int(*)(const void *","FAR const void *)"
|
||||
"qsort","stdlib.h","","void","FAR void *","size_t","size_t","int(*)(FAR const void *","FAR const void *)"
|
||||
"rand","stdlib.h","","int"
|
||||
"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"
|
||||
"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 *"
|
||||
"sem_init","semaphore.h","","int","FAR sem_t *","int","unsigned int"
|
||||
"sendfile","sys/sendfile.h","","ssize_t","int","int","off_t","size_t"
|
||||
"setlocale","locale.h","defined(CONFIG_LIBC_LOCALE)","FAR char *s","int","FAR const char *s"
|
||||
"sendfile","sys/sendfile.h","","ssize_t","int","int","FAR off_t *","size_t"
|
||||
"setlocale","locale.h","defined(CONFIG_LIBC_LOCALE)","FAR char *","int","FAR const char *"
|
||||
"setlogmask","syslog.h","","int","int"
|
||||
"sigaddset","signal.h","","int","FAR sigset_t *","int"
|
||||
"sigdelset","signal.h","","int","FAR sigset_t *","int"
|
||||
@@ -153,86 +153,87 @@
|
||||
"snprintf","stdio.h","","int","FAR char *","size_t","FAR const char *","..."
|
||||
"sprintf","stdio.h","","int","FAR char *","FAR const char *","..."
|
||||
"sq_addafter","queue.h","","void","FAR sq_entry_t *","FAR sq_entry_t *","FAR sq_queue_t *"
|
||||
"sq_addfirst","queue.h","","void","FAR sq_entry_t *","sq_queue_t *"
|
||||
"sq_addlast","queue.h","","void","FAR sq_entry_t *","sq_queue_t *"
|
||||
"sq_rem","queue.h","","void","FAR sq_entry_t *","sq_queue_t *"
|
||||
"sq_remafter","queue.h","","FAR sq_entry_t","FAR sq_entry_t *","sq_queue_t *"
|
||||
"sq_remfirst","queue.h","","FAR sq_entry_t","sq_queue_t *"
|
||||
"sq_remlast","queue.h","","FAR sq_entry_t","sq_queue_t *"
|
||||
"sq_addfirst","queue.h","","void","FAR sq_entry_t *","FAR sq_queue_t *"
|
||||
"sq_addlast","queue.h","","void","FAR sq_entry_t *","FAR sq_queue_t *"
|
||||
"sq_rem","queue.h","","void","FAR sq_entry_t *","sFAR q_queue_t *"
|
||||
"sq_remafter","queue.h","","FAR sq_entry_t","FAR sq_entry_t *","FAR sq_queue_t *"
|
||||
"sq_remfirst","queue.h","","FAR sq_entry_t *","FAR sq_queue_t *"
|
||||
"sq_remlast","queue.h","","FAR sq_entry_t *","FAR sq_queue_t *"
|
||||
"srand","stdlib.h","","void","unsigned int"
|
||||
"sscanf","stdio.h","","int","FAR const 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 *"
|
||||
"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"
|
||||
"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 *"
|
||||
"strcspn","string.h","","size_t","FAR const char *","FAR const char *"
|
||||
"strdup","string.h","","FAR char","FAR const char *"
|
||||
"strerror","string.h","","FAR const char","int"
|
||||
"strdup","string.h","","FAR char *","FAR const char *"
|
||||
"strerror","string.h","","FAR const 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 *"
|
||||
"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"
|
||||
"strncat","string.h","","FAR char *","FAR char *","FAR const char *","size_t"
|
||||
"strncmp","string.h","","int","FAR const char *","FAR const char *","size_t"
|
||||
"strncpy","string.h","","FAR char","FAR char *","FAR const char *","size_t"
|
||||
"strndup","string.h","","FAR char","FAR const char *","size_t"
|
||||
"strncpy","string.h","","FAR char *","FAR char *","FAR const char *","size_t"
|
||||
"strndup","string.h","","FAR char *","FAR const char *","size_t"
|
||||
"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"
|
||||
"strpbrk","string.h","","FAR char *","FAR const char *","FAR const char *"
|
||||
"strrchr","string.h","","FAR char *","FAR const char *","int"
|
||||
"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_t","FAR const char *str","FAR char **endptr"
|
||||
"strtok","string.h","","FAR char","FAR char *","FAR const char *"
|
||||
"strtok_r","string.h","","FAR char","FAR char *","FAR const char *","FAR char **"
|
||||
"strtol","string.h","","long","FAR const char *","FAR char **","int"
|
||||
"strtod","stdlib.h","","double","FAR const char *","FAR char **"
|
||||
"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"
|
||||
"strtoul","stdlib.h","","unsigned long","FAR const char *","FAR char **","int"
|
||||
"strtoull","stdlib.h","defined(CONFIG_HAVE_LONG_LONG)","unsigned long long","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","int","FAR const void *","FAR void *","ssize_t"
|
||||
"swab","unistd.h","","void","FAR const void *","FAR void *","ssize_t"
|
||||
"swprintf","wchar.h","defined(CONFIG_LIBC_WCHAR)","int","FAR wchar_t *","size_t","FAR const wchar_t *","..."
|
||||
"syslog","syslog.h","","int","int","FAR const char *","..."
|
||||
"syslog","syslog.h","","void","int","FAR const char *","..."
|
||||
"tcflush","termios.h","defined(CONFIG_SERIAL_TERMIOS)","int","int","int"
|
||||
"tcgetattr","termios.h","defined(CONFIG_SERIAL_TERMIOS)","int","int","FAR struct termios *"
|
||||
"tcsetattr","termios.h","defined(CONFIG_SERIAL_TERMIOS)","int","int","int","FAR const struct termios *"
|
||||
"telldir","dirent.h","","off_t","FAR DIR *"
|
||||
"time","time.h","","time_t","time_t *"
|
||||
"time","time.h","","time_t","FAR time_t *"
|
||||
"towlower","wchar.h","defined(CONFIG_LIBC_WCHAR)","wint_t","wint_t"
|
||||
"towupper","wchar.h","defined(CONFIG_LIBC_WCHAR)","wint_t","wint_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"
|
||||
"ungetc","stdio.h","CONFIG_NFILE_STREAMS > 0","int","int","FAR FILE *"
|
||||
"usleep","unistd.h","","int","int","FAR FILE *"
|
||||
"usleep","unistd.h","","int","useconds_t"
|
||||
"vasprintf","stdio.h","","int","FAR char **","FAR const char *","va_list"
|
||||
"vfprintf","stdio.h","CONFIG_NFILE_STREAMS > 0","int","FAR FILE *","FAR const char *","va_list"
|
||||
"vprintf","stdio.h","CONFIG_NFILE_STREAMS > 0","int","FAR const char *","va_list"
|
||||
"vsnprintf","stdio.h","","int","FAR char *","size_t","FAR const char *","va_list"
|
||||
"vsprintf","stdio.h","","int","FAR char *","FAR const char *","va_list"
|
||||
"vsscanf","stdio.h","","int","FAR char *","FAR const char *","va_list"
|
||||
"vsyslog","syslog.h","","int","int","FAR const char *","va_list"
|
||||
"wcrtomb","wchar.h","defined(CONFIG_LIBC_WCHAR)","size_t","FAR char *","wchar_t","mbstate_t *"
|
||||
"vsscanf","stdio.h","","int","FAR const char *","FAR const char *","va_list"
|
||||
"vsyslog","syslog.h","","void","int","FAR const char *","va_list"
|
||||
"wcrtomb","wchar.h","defined(CONFIG_LIBC_WCHAR)","size_t","FAR char *","wchar_t","FAR mbstate_t *"
|
||||
"wcscmp","wchar.h","defined(CONFIG_LIBC_WCHAR)","int","FAR const wchar_t *","FAR const wchar_t *"
|
||||
"wcscoll","wchar.h","defined(CONFIG_LIBC_WCHAR)","int","FAR const wchar_t *","FAR const wchar_t *"
|
||||
"wcsftime","wchar.h","defined(CONFIG_LIBC_WCHAR)","size_t","FAR wchar_t *","size_t","FAR const wchar_t *","FAR const struct tm *"
|
||||
"wcslcpy","wchar.h","defined(CONFIG_LIBC_WCHAR)","size_t","FAR const wchar_t *","FAR const wchar_t *","size_t"
|
||||
"wcslcpy","wchar.h","defined(CONFIG_LIBC_WCHAR)","size_t","FAR wchar_t *","FAR const wchar_t *","size_t"
|
||||
"wcslen","wchar.h","defined(CONFIG_LIBC_WCHAR)","size_t","FAR const wchar_t *"
|
||||
"wcsnrtombs","wchar.h","defined(CONFIG_LIBC_WCHAR)","size_t","FAR char *","FAR const wchar_t **","size_t","size_t","mbstate_t *"
|
||||
"wcstod","wchar.h","defined(CONFIG_LIBC_WCHAR)","","FAR const wchar_t *","FAR wchar_t **"
|
||||
"wcsnrtombs","wchar.h","defined(CONFIG_LIBC_WCHAR)","size_t","FAR char *","FAR const wchar_t **","size_t","size_t","FAR mbstate_t *"
|
||||
"wcstod","wchar.h","defined(CONFIG_LIBC_WCHAR)","double","FAR const wchar_t *","FAR wchar_t **"
|
||||
"wcstof","wchar.h","defined(CONFIG_LIBC_WCHAR)","float","FAR const wchar_t *","FAR wchar_t **"
|
||||
"wcstol","wchar.h","defined(CONFIG_LIBC_WCHAR)","long int","FAR const wchar_t *","FAR wchar_t **","int"
|
||||
"wcstold","wchar.h","defined(CONFIG_LIBC_WCHAR)","long double","FAR const wchar_t *","FAR wchar_t **"
|
||||
"wcstoll","wchar.h","defined(CONFIG_LIBC_WCHAR)","long long int","FAR const wchar_t *","FAR wchar_t **","int"
|
||||
"wcstoul","wchar.h","defined(CONFIG_LIBC_WCHAR)","unsigned long int","FAR const wchar_t *","FAR wchar_t **","int"
|
||||
"wcsxfrm","wchar.h","defined(CONFIG_LIBC_WCHAR)","size_t","wchar_t *","FAR const wchar_t *","size_t"
|
||||
"wctob","wchar.h","defined(CONFIG_LIBC_WCHAR)","int","wchar_t"
|
||||
"wctomb","wchar.h","defined(CONFIG_LIBC_WCHAR)","int","FAR char *","wchar_t"
|
||||
"wcsxfrm","wchar.h","defined(CONFIG_LIBC_WCHAR)","size_t","FAR wchar_t *","FAR const wchar_t *","size_t"
|
||||
"wctob","wchar.h","defined(CONFIG_LIBC_WCHAR)","int","wint_t"
|
||||
"wctomb","stdlib.h","defined(CONFIG_LIBC_WCHAR)","int","FAR char *","wchar_t"
|
||||
"wctype","wctype.h","defined(CONFIG_LIBC_WCHAR)","wctype_t","FAR const char *"
|
||||
"wmemchr","wchar.h","defined(CONFIG_LIBC_WCHAR)","wchar_t *","wchar_t *","wchar_t","size_t"
|
||||
"wmemcmp","wchar.h","defined(CONFIG_LIBC_WCHAR)","int","wchar_t *","wchar_t *","size_t"
|
||||
"wmemcpy","wchar.h","defined(CONFIG_LIBC_WCHAR)","wchat_t *","wchar_t *","wchar_t *","size_t"
|
||||
"wmemmove","wchar.h","defined(CONFIG_LIBC_WCHAR)","wchat_t *","wchar_t *","wchar_t *","size_t"
|
||||
"wmemset","wchar.h","defined(CONFIG_LIBC_WCHAR)","wchat_t *","wchar_t *","wchar_t","size_t"
|
||||
"wmemchr","wchar.h","defined(CONFIG_LIBC_WCHAR)","FAR wchar_t *","FAR const wchar_t *","wchar_t","size_t"
|
||||
"wmemcmp","wchar.h","defined(CONFIG_LIBC_WCHAR)","int","FAR const wchar_t *","FAR const wchar_t *","size_t"
|
||||
"wmemcpy","wchar.h","defined(CONFIG_LIBC_WCHAR)","FAR wchat_t *","FAR wchar_t *","FAR const wchar_t *","size_t"
|
||||
"wmemmove","wchar.h","defined(CONFIG_LIBC_WCHAR)","FAR wchat_t *","FAR wchar_t *","FAR const wchar_t *","size_t"
|
||||
"wmemset","wchar.h","defined(CONFIG_LIBC_WCHAR)","FAR wchat_t *","FAR wchar_t *","wchar_t","size_t"
|
||||
"writev","sys/uio.h","","ssize_t","int","FAR const struct iovec *","int"
|
||||
|
||||
|
+2
-3
@@ -34,6 +34,7 @@
|
||||
"frexp","math.h","defined(CONFIG_HAVE_DOUBLE) && (defined(CONFIG_LIBM) || defined(CONFIG_ARCH_MATH))","double","double","int *"
|
||||
"frexpf","math.h","defined(CONFIG_LIBM) || defined(CONFIG_ARCH_MATH)","float","float","int *"
|
||||
"frexpl","math.h","defined(CONFIG_HAVE_LONG_DOUBLE) && (defined(CONFIG_LIBM) || defined(CONFIG_ARCH_MATH))","long double","long double","int *"
|
||||
"gamma","math.h","defined(CONFIG_HAVE_DOUBLE) && (defined(CONFIG_LIBM) || defined(CONFIG_ARCH_MATH))","double","double"
|
||||
"ldexp","math.h","defined(CONFIG_HAVE_DOUBLE) && (defined(CONFIG_LIBM) || defined(CONFIG_ARCH_MATH))","double","double","int"
|
||||
"ldexpf","math.h","defined(CONFIG_LIBM) || defined(CONFIG_ARCH_MATH)","float","float","int"
|
||||
"ldexpl","math.h","defined(CONFIG_HAVE_LONG_DOUBLE) && (defined(CONFIG_LIBM) || defined(CONFIG_ARCH_MATH))","long double","long double","int"
|
||||
@@ -47,7 +48,6 @@
|
||||
"log2l","math.h","defined(CONFIG_HAVE_LONG_DOUBLE) && (defined(CONFIG_LIBM) || defined(CONFIG_ARCH_MATH))","long double","long double"
|
||||
"logf","math.h","defined(CONFIG_LIBM) || defined(CONFIG_ARCH_MATH)","float","float"
|
||||
"logl","math.h","defined(CONFIG_HAVE_LONG_DOUBLE) && (defined(CONFIG_LIBM) || defined(CONFIG_ARCH_MATH))","long double","long double"
|
||||
"gamma","math.h","defined(CONFIG_HAVE_DOUBLE) && (defined(CONFIG_LIBM) || defined(CONFIG_ARCH_MATH))","double","double"
|
||||
"modf","math.h","defined(CONFIG_HAVE_DOUBLE) && (defined(CONFIG_LIBM) || defined(CONFIG_ARCH_MATH))","double","double","double *"
|
||||
"modff","math.h","defined(CONFIG_LIBM) || defined(CONFIG_ARCH_MATH)","float","float","float *"
|
||||
"modfl","math.h","defined(CONFIG_HAVE_LONG_DOUBLE) && (defined(CONFIG_LIBM) || defined(CONFIG_ARCH_MATH))","long double","long double","long double *"
|
||||
@@ -57,7 +57,6 @@
|
||||
"rint","math.h","defined(CONFIG_HAVE_DOUBLE) && (defined(CONFIG_LIBM) || defined(CONFIG_ARCH_MATH))","double","double"
|
||||
"rintf","math.h","defined(CONFIG_LIBM) || defined(CONFIG_ARCH_MATH)","float","float"
|
||||
"rintl","math.h","defined(CONFIG_HAVE_LONG_DOUBLE) && (defined(CONFIG_LIBM) || defined(CONFIG_ARCH_MATH))","long double","long double"
|
||||
"readv","sys/uio.h","","ssize_t","int","FAR const struct iovec *","int"
|
||||
"round","math.h","defined(CONFIG_HAVE_DOUBLE) && (defined(CONFIG_LIBM) || defined(CONFIG_ARCH_MATH))","double","double"
|
||||
"roundf","math.h","defined(CONFIG_LIBM) || defined(CONFIG_ARCH_MATH)","float","float"
|
||||
"roundl","math.h","defined(CONFIG_HAVE_LONG_DOUBLE) && (defined(CONFIG_LIBM) || defined(CONFIG_ARCH_MATH))","long double","long double"
|
||||
@@ -67,7 +66,7 @@
|
||||
"sinhf","math.h","defined(CONFIG_LIBM) || defined(CONFIG_ARCH_MATH)","float","float"
|
||||
"sinhl","math.h","defined(CONFIG_HAVE_LONG_DOUBLE) && (defined(CONFIG_LIBM) || defined(CONFIG_ARCH_MATH))","long double","long double"
|
||||
"sinl","math.h","defined(CONFIG_HAVE_LONG_DOUBLE) && (defined(CONFIG_LIBM) || defined(CONFIG_ARCH_MATH))","long double","long double"
|
||||
"sqrt","math.h","defined(CONFIG_HAVE_DOUBLE) && (defined(CONFIG_LIBM) || defined(CONFIG_ARCH_MATH))","double","",""
|
||||
"sqrt","math.h","defined(CONFIG_HAVE_DOUBLE) && (defined(CONFIG_LIBM) || defined(CONFIG_ARCH_MATH))","double","double"
|
||||
"sqrtf","math.h","defined(CONFIG_LIBM) || defined(CONFIG_ARCH_MATH)","float","float"
|
||||
"sqrtl","math.h","defined(CONFIG_HAVE_LONG_DOUBLE) && (defined(CONFIG_LIBM) || defined(CONFIG_ARCH_MATH))","long double","long double"
|
||||
"tan","math.h","defined(CONFIG_HAVE_DOUBLE) && (defined(CONFIG_LIBM) || defined(CONFIG_ARCH_MATH))","double","double"
|
||||
|
||||
|
+12
-11
@@ -56,7 +56,8 @@
|
||||
*
|
||||
****************************************************************************/
|
||||
|
||||
static int match_one(const char *pattern, int patlen, const char *string)
|
||||
static int match_one(FAR const char *pattern, int patlen,
|
||||
FAR const char *string)
|
||||
{
|
||||
const char *p;
|
||||
char first;
|
||||
@@ -80,17 +81,17 @@ static int match_one(const char *pattern, int patlen, const char *string)
|
||||
p++;
|
||||
|
||||
if (*string == *p)
|
||||
{
|
||||
/* Match found. Advance to the ']' */
|
||||
{
|
||||
/* Match found. Advance to the ']' */
|
||||
|
||||
i = 1;
|
||||
while (*p != ']' && *p != '\0')
|
||||
{
|
||||
p++;
|
||||
}
|
||||
i = 1;
|
||||
while (*p != ']' && *p != '\0')
|
||||
{
|
||||
p++;
|
||||
}
|
||||
|
||||
break;
|
||||
}
|
||||
break;
|
||||
}
|
||||
|
||||
/* Prepare to test for range */
|
||||
|
||||
@@ -187,7 +188,7 @@ static int match_one(const char *pattern, int patlen, const char *string)
|
||||
*
|
||||
****************************************************************************/
|
||||
|
||||
int match(const char *pattern, const char *string)
|
||||
int match(FAR const char *pattern, FAR const char *string)
|
||||
{
|
||||
const char *or;
|
||||
|
||||
|
||||
@@ -64,7 +64,8 @@
|
||||
*
|
||||
****************************************************************************/
|
||||
|
||||
int pthread_attr_getschedpolicy(FAR const pthread_attr_t *attr, int *policy)
|
||||
int pthread_attr_getschedpolicy(FAR const pthread_attr_t *attr,
|
||||
FAR int *policy)
|
||||
{
|
||||
int ret;
|
||||
|
||||
|
||||
@@ -63,7 +63,8 @@
|
||||
*
|
||||
****************************************************************************/
|
||||
|
||||
int pthread_mutexattr_gettype(const pthread_mutexattr_t *attr, int *type)
|
||||
int pthread_mutexattr_gettype(FAR const pthread_mutexattr_t *attr,
|
||||
FAR int *type)
|
||||
{
|
||||
if (attr != NULL && type != NULL)
|
||||
{
|
||||
|
||||
@@ -63,9 +63,10 @@
|
||||
*
|
||||
****************************************************************************/
|
||||
|
||||
int pthread_mutexattr_settype(pthread_mutexattr_t *attr, int type)
|
||||
int pthread_mutexattr_settype(FAR pthread_mutexattr_t *attr, int type)
|
||||
{
|
||||
if (attr && type >= PTHREAD_MUTEX_NORMAL && type <= PTHREAD_MUTEX_RECURSIVE)
|
||||
if (attr && type >= PTHREAD_MUTEX_NORMAL &&
|
||||
type <= PTHREAD_MUTEX_RECURSIVE)
|
||||
{
|
||||
#ifdef CONFIG_PTHREAD_MUTEX_TYPES
|
||||
attr->type = type;
|
||||
|
||||
@@ -76,7 +76,7 @@
|
||||
int task_spawn(FAR pid_t *pid, FAR const char *name, main_t entry,
|
||||
FAR const posix_spawn_file_actions_t *file_actions,
|
||||
FAR const posix_spawnattr_t *attr,
|
||||
FAR char *const argv[], FAR char *const envp[])
|
||||
FAR char * const argv[], FAR char * const envp[])
|
||||
{
|
||||
struct spawn_syscall_parms_s parms;
|
||||
|
||||
|
||||
@@ -59,12 +59,12 @@
|
||||
*
|
||||
* Returned Value:
|
||||
* The returned value is the number of characters allocated for the buffer,
|
||||
* or less than zero if an error occurred. Usually this means that the buffer
|
||||
* could not be allocated.
|
||||
* or less than zero if an error occurred. Usually this means that the
|
||||
* buffer could not be allocated.
|
||||
*
|
||||
****************************************************************************/
|
||||
|
||||
int asprintf (FAR char **ptr, FAR const IPTR char *fmt, ...)
|
||||
int asprintf(FAR char **ptr, FAR const IPTR char *fmt, ...)
|
||||
{
|
||||
va_list ap;
|
||||
int ret;
|
||||
|
||||
@@ -61,7 +61,7 @@
|
||||
*
|
||||
****************************************************************************/
|
||||
|
||||
void clearerr(FILE *stream)
|
||||
void clearerr(FAR FILE *stream)
|
||||
{
|
||||
stream->fs_flags = 0;
|
||||
}
|
||||
|
||||
@@ -59,7 +59,7 @@
|
||||
*
|
||||
****************************************************************************/
|
||||
|
||||
char *fgets(FAR char *buf, int buflen, FILE *stream)
|
||||
char *fgets(FAR char *buf, int buflen, FAR FILE *stream)
|
||||
{
|
||||
/* Handle negative buffer size */
|
||||
|
||||
|
||||
@@ -59,10 +59,10 @@ int optopt = '?'; /* unrecognized option character */
|
||||
* Private Data
|
||||
****************************************************************************/
|
||||
|
||||
static FAR char *g_optptr = NULL;
|
||||
static FAR char *const *g_argv = NULL;
|
||||
static int g_argc = 0;
|
||||
static bool g_binitialized = false;
|
||||
static FAR char *g_optptr = NULL;
|
||||
static FAR char * const *g_argv = NULL;
|
||||
static int g_argc = 0;
|
||||
static bool g_binitialized = false;
|
||||
|
||||
/****************************************************************************
|
||||
* Public Functions
|
||||
@@ -115,7 +115,7 @@ static bool g_binitialized = false;
|
||||
*
|
||||
****************************************************************************/
|
||||
|
||||
int getopt(int argc, FAR char *const argv[], FAR const char *optstring)
|
||||
int getopt(int argc, FAR char * const argv[], FAR const char *optstring)
|
||||
{
|
||||
/* Were new argc or argv passed in? This detects misuse of getopt() by
|
||||
* applications that break out of the getopt() loop before getop() returns
|
||||
@@ -138,8 +138,8 @@ int getopt(int argc, FAR char *const argv[], FAR const char *optstring)
|
||||
FAR char *optchar;
|
||||
int noarg_ret = '?';
|
||||
|
||||
/* The initial value of optind is 1. If getopt() is called again in the
|
||||
* program, optind must be reset to some value <= 1.
|
||||
/* The initial value of optind is 1. If getopt() is called again in
|
||||
* the program, optind must be reset to some value <= 1.
|
||||
*/
|
||||
|
||||
if (optind < 1 || !g_binitialized)
|
||||
@@ -151,8 +151,8 @@ int getopt(int argc, FAR char *const argv[], FAR const char *optstring)
|
||||
g_binitialized = true; /* Now we are initialized */
|
||||
}
|
||||
|
||||
/* If the first character of opstring s ':', then ':' is in the event of
|
||||
* a missing argument. Otherwise '?' is returned.
|
||||
/* If the first character of opstring s ':', then ':' is in the event
|
||||
* of a missing argument. Otherwise '?' is returned.
|
||||
*/
|
||||
|
||||
if (*optstring == ':')
|
||||
@@ -161,21 +161,22 @@ int getopt(int argc, FAR char *const argv[], FAR const char *optstring)
|
||||
optstring++;
|
||||
}
|
||||
|
||||
/* Are we resuming in the middle, or at the end of a string of arguments?
|
||||
* g_optptr == NULL means that we are started at the beginning of argv[optind];
|
||||
* *g_optptr == \0 means that we are starting at the beginning of optind+1
|
||||
/* Are we resuming in the middle, or at the end of a string of
|
||||
* arguments? g_optptr == NULL means that we are started at the
|
||||
* beginning of argv[optind]; *g_optptr == \0 means that we are
|
||||
* starting at the beginning of optind+1
|
||||
*/
|
||||
|
||||
while (!g_optptr || !*g_optptr)
|
||||
{
|
||||
/* We need to start at the beginning of the next argv. Check if we need
|
||||
* to increment optind
|
||||
/* We need to start at the beginning of the next argv. Check if we
|
||||
* need to increment optind
|
||||
*/
|
||||
|
||||
if (g_optptr)
|
||||
{
|
||||
/* Yes.. Increment it and check for the case where where we have
|
||||
* processed everything in the argv[] array.
|
||||
/* Yes.. Increment it and check for the case where where we
|
||||
* have processed everything in the argv[] array.
|
||||
*/
|
||||
|
||||
optind++;
|
||||
@@ -192,8 +193,8 @@ int getopt(int argc, FAR char *const argv[], FAR const char *optstring)
|
||||
return ERROR;
|
||||
}
|
||||
|
||||
/* We are starting at the beginning of argv[optind]. In this case, the
|
||||
* first character must be '-'
|
||||
/* We are starting at the beginning of argv[optind]. In this case,
|
||||
* the first character must be '-'
|
||||
*/
|
||||
|
||||
if (*g_optptr != '-')
|
||||
@@ -213,8 +214,8 @@ int getopt(int argc, FAR char *const argv[], FAR const char *optstring)
|
||||
|
||||
if (!*g_optptr)
|
||||
{
|
||||
optopt = '\0'; /* We'll fix up g_optptr the next time we are called */
|
||||
return '?';
|
||||
optopt = '\0'; /* We'll fix up g_optptr the next time we are called */
|
||||
return '?';
|
||||
}
|
||||
|
||||
/* Handle the case of "-:" */
|
||||
@@ -226,8 +227,8 @@ int getopt(int argc, FAR char *const argv[], FAR const char *optstring)
|
||||
return '?';
|
||||
}
|
||||
|
||||
/* g_optptr now points at the next option and it is not something crazy.
|
||||
* check if the option is in the list of valid options.
|
||||
/* g_optptr now points at the next option and it is not something
|
||||
* crazy. check if the option is in the list of valid options.
|
||||
*/
|
||||
|
||||
optchar = strchr(optstring, *g_optptr);
|
||||
@@ -268,11 +269,11 @@ int getopt(int argc, FAR char *const argv[], FAR const char *optstring)
|
||||
|
||||
/* No.. is the optional argument the next argument in argv[] ? */
|
||||
|
||||
if (argv[optind+1] && *argv[optind+1] != '-')
|
||||
if (argv[optind + 1] && *argv[optind + 1] != '-')
|
||||
{
|
||||
/* Yes.. return that */
|
||||
|
||||
optarg = argv[optind+1];
|
||||
optarg = argv[optind + 1];
|
||||
optind += 2;
|
||||
g_optptr = NULL;
|
||||
return *optchar;
|
||||
|
||||
@@ -54,7 +54,8 @@
|
||||
*
|
||||
****************************************************************************/
|
||||
|
||||
size_t mbrtowc(FAR wchar_t *pwc, FAR const char *s, size_t n, mbstate_t *ps)
|
||||
size_t mbrtowc(FAR wchar_t *pwc, FAR const char *s,
|
||||
size_t n, FAR mbstate_t *ps)
|
||||
{
|
||||
int retval = 0;
|
||||
|
||||
|
||||
@@ -80,7 +80,7 @@
|
||||
*
|
||||
****************************************************************************/
|
||||
|
||||
int nxsched_getparam (pid_t pid, FAR struct sched_param *param)
|
||||
int nxsched_getparam(pid_t pid, FAR struct sched_param *param)
|
||||
{
|
||||
FAR struct tcb_s *rtcb;
|
||||
FAR struct tcb_s *tcb;
|
||||
@@ -181,7 +181,7 @@ int nxsched_getparam (pid_t pid, FAR struct sched_param *param)
|
||||
*
|
||||
****************************************************************************/
|
||||
|
||||
int sched_getparam (pid_t pid, FAR struct sched_param *param)
|
||||
int sched_getparam(pid_t pid, FAR struct sched_param *param)
|
||||
{
|
||||
int ret = nxsched_getparam(pid, param);
|
||||
if (ret < 0)
|
||||
|
||||
@@ -282,7 +282,7 @@ int task_create(FAR const char *name, int priority,
|
||||
****************************************************************************/
|
||||
|
||||
int kthread_create(FAR const char *name, int priority,
|
||||
int stack_size, main_t entry, FAR char *const argv[])
|
||||
int stack_size, main_t entry, FAR char * const argv[])
|
||||
{
|
||||
return nxthread_create(name, TCB_FLAG_TTYPE_KERNEL, priority, stack_size,
|
||||
entry, argv);
|
||||
|
||||
@@ -312,12 +312,12 @@ static int nxposix_spawn_proxy(int argc, FAR char *argv[])
|
||||
int posix_spawnp(FAR pid_t *pid, FAR const char *path,
|
||||
FAR const posix_spawn_file_actions_t *file_actions,
|
||||
FAR const posix_spawnattr_t *attr,
|
||||
FAR char *const argv[], FAR char *const envp[])
|
||||
FAR char * const argv[], FAR char * const envp[])
|
||||
#else
|
||||
int posix_spawn(FAR pid_t *pid, FAR const char *path,
|
||||
FAR const posix_spawn_file_actions_t *file_actions,
|
||||
FAR const posix_spawnattr_t *attr,
|
||||
FAR char *const argv[], FAR char *const envp[])
|
||||
FAR char * const argv[], FAR char * const envp[])
|
||||
#endif
|
||||
{
|
||||
struct sched_param param;
|
||||
|
||||
@@ -311,7 +311,7 @@ static int nxtask_spawn_proxy(int argc, FAR char *argv[])
|
||||
int task_spawn(FAR pid_t *pid, FAR const char *name, main_t entry,
|
||||
FAR const posix_spawn_file_actions_t *file_actions,
|
||||
FAR const posix_spawnattr_t *attr,
|
||||
FAR char *const argv[], FAR char *const envp[])
|
||||
FAR char * const argv[], FAR char * const envp[])
|
||||
{
|
||||
struct sched_param param;
|
||||
pid_t proxy;
|
||||
|
||||
+117
-117
@@ -1,42 +1,42 @@
|
||||
"_exit","unistd.h","","void","int"
|
||||
"accept","sys/socket.h","defined(CONFIG_NET)","int","int","FAR struct sockaddr *","FAR socklen_t *"
|
||||
"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 *"
|
||||
"aio_fsync","aio.h","defined(CONFIG_FS_AIO)","int","int","FAR struct aiocb *"
|
||||
"aio_read","aio.h","defined(CONFIG_FS_AIO)","int","FAR struct aiocb *"
|
||||
"aio_write","aio.h","defined(CONFIG_FS_AIO)","int","FAR struct aiocb *"
|
||||
"accept","sys/socket.h","defined(CONFIG_NET)","int","int","struct sockaddr*","socklen_t*"
|
||||
"atexit","stdlib.h","defined(CONFIG_SCHED_ATEXIT)","int","void (*)(void)"
|
||||
"bind","sys/socket.h","defined(CONFIG_NET)","int","int","FAR const struct sockaddr*","socklen_t"
|
||||
"bind","sys/socket.h","defined(CONFIG_NET)","int","int","FAR const struct sockaddr *","socklen_t"
|
||||
"boardctl","sys/boardctl.h","defined(CONFIG_LIB_BOARDCTL)","int","unsigned int","uintptr_t"
|
||||
"clearenv","stdlib.h","!defined(CONFIG_DISABLE_ENVIRON)","int"
|
||||
"clock","time.h","","clock_t"
|
||||
"clock_getres","time.h","","int","clockid_t","struct timespec*"
|
||||
"clock_gettime","time.h","","int","clockid_t","struct timespec*"
|
||||
"clock_nanosleep","time.h","","int","clockid_t","int","FAR const struct timespec *", "FAR struct timespec*"
|
||||
"clock_getres","time.h","","int","clockid_t","FAR struct timespec *"
|
||||
"clock_gettime","time.h","","int","clockid_t","FAR struct timespec *"
|
||||
"clock_nanosleep","time.h","","int","clockid_t","int","FAR const struct timespec *", "FAR struct timespec *"
|
||||
"clock_settime","time.h","","int","clockid_t","const struct timespec*"
|
||||
"close","unistd.h","","int","int"
|
||||
"closedir","dirent.h","","int","FAR DIR*"
|
||||
"connect","sys/socket.h","defined(CONFIG_NET)","int","int","FAR const struct sockaddr*","socklen_t"
|
||||
"closedir","dirent.h","","int","FAR DIR *"
|
||||
"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"
|
||||
"exec","nuttx/binfmt/binfmt.h","!defined(CONFIG_BINFMT_DISABLE) && !defined(CONFIG_BUILD_KERNEL)","int","FAR const char *","FAR char * const *","FAR const struct symtab_s *","int"
|
||||
"execv","unistd.h","!defined(CONFIG_BINFMT_DISABLE) && defined(CONFIG_LIBC_EXECFUNCS)","int","FAR const char *","FAR char *const []|FAR char *const *"
|
||||
"execv","unistd.h","!defined(CONFIG_BINFMT_DISABLE) && defined(CONFIG_LIBC_EXECFUNCS)","int","FAR const char *","FAR char * const []|FAR char * const *"
|
||||
"exit","stdlib.h","","void","int"
|
||||
"fcntl","fcntl.h","","int","int","int","...","int"
|
||||
"fs_fdopen","nuttx/fs/fs.h","CONFIG_NFILE_STREAMS > 0","FAR struct file_struct*","int","int","FAR struct tcb_s*"
|
||||
"fstat","sys/stat.h","","int","int","FAR struct stat*"
|
||||
"fstatfs","sys/statfs.h","","int","int","FAR struct statfs*"
|
||||
"fs_fdopen","nuttx/fs/fs.h","CONFIG_NFILE_STREAMS > 0","FAR struct file_struct *","int","int","FAR struct tcb_s *"
|
||||
"fstat","sys/stat.h","","int","int","FAR struct stat *"
|
||||
"fstatfs","sys/statfs.h","","int","int","FAR struct statfs *"
|
||||
"fsync","unistd.h","!defined(CONFIG_DISABLE_MOUNTPOINT)","int","int"
|
||||
"ftruncate","unistd.h","!defined(CONFIG_DISABLE_MOUNTPOINT)","int","int","off_t"
|
||||
"get_errno","errno.h","!defined(__DIRECT_ERRNO_ACCESS)","int"
|
||||
"getenv","stdlib.h","!defined(CONFIG_DISABLE_ENVIRON)","FAR char*","FAR const char*"
|
||||
"getenv","stdlib.h","!defined(CONFIG_DISABLE_ENVIRON)","FAR char *","FAR const char *"
|
||||
"getgid","unistd.h","defined(CONFIG_SCHED_USER_IDENTITY)","gid_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"
|
||||
"getrandom","sys/random.h","defined(CONFIG_CRYPTO_RANDOM_POOL)","void","FAR void*","size_t"
|
||||
"getrandom","sys/random.h","defined(CONFIG_CRYPTO_RANDOM_POOL)","void","FAR void *","size_t"
|
||||
"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*"
|
||||
"getsockopt","sys/socket.h","defined(CONFIG_NET)","int","int","int","int","FAR void *","FAR socklen_t *"
|
||||
"getuid","unistd.h","defined(CONFIG_SCHED_USER_IDENTITY)","uid_t"
|
||||
"if_indextoname","net/if.h","defined(CONFIG_NETDEV_IFINDEX)","FAR char *","unsigned int","FAR char *"
|
||||
"if_nametoindex","net/if.h","defined(CONFIG_NETDEV_IFINDEX)","unsigned int","FAR const char *"
|
||||
@@ -46,144 +46,144 @@
|
||||
"link","unistd.h","defined(CONFIG_PSEUDOFS_SOFTLINKS)","int","FAR const char *","FAR const char *"
|
||||
"listen","sys/socket.h","defined(CONFIG_NET)","int","int","int"
|
||||
"lseek","unistd.h","","off_t","int","off_t","int"
|
||||
"mkdir","sys/stat.h","!defined(CONFIG_DISABLE_MOUNTPOINT)","int","FAR const char*","mode_t"
|
||||
"mmap","sys/mman.h","","FAR void*","FAR void*","size_t","int","int","int","off_t"
|
||||
"munmap","sys/mman.h","defined(CONFIG_FS_RAMMAP)","int","FAR void *","size_t"
|
||||
"mkdir","sys/stat.h","!defined(CONFIG_DISABLE_MOUNTPOINT)","int","FAR const char *","mode_t"
|
||||
"mmap","sys/mman.h","","FAR void *","FAR void *","size_t","int","int","int","off_t"
|
||||
"modhandle","nuttx/module.h","defined(CONFIG_MODULE)","FAR void *","FAR const char *"
|
||||
"mount","sys/mount.h","!defined(CONFIG_DISABLE_MOUNTPOINT)","int","const char*","const char*","const char*","unsigned long","const void*"
|
||||
"mount","sys/mount.h","!defined(CONFIG_DISABLE_MOUNTPOINT)","int","FAR const char *","FAR const char *","FAR const char *","unsigned long","FAR const void *"
|
||||
"mq_close","mqueue.h","!defined(CONFIG_DISABLE_MQUEUE)","int","mqd_t"
|
||||
"mq_getattr","mqueue.h","!defined(CONFIG_DISABLE_MQUEUE)","int","mqd_t","struct mq_attr *"
|
||||
"mq_notify","mqueue.h","!defined(CONFIG_DISABLE_MQUEUE)","int","mqd_t","const struct sigevent*"
|
||||
"mq_open","mqueue.h","!defined(CONFIG_DISABLE_MQUEUE)","mqd_t","const char*","int","...","mode_t","FAR struct mq_attr*"
|
||||
"mq_receive","mqueue.h","!defined(CONFIG_DISABLE_MQUEUE)","ssize_t","mqd_t","char*","size_t","FAR unsigned int*"
|
||||
"mq_send","mqueue.h","!defined(CONFIG_DISABLE_MQUEUE)","int","mqd_t","const char*","size_t","unsigned int"
|
||||
"mq_setattr","mqueue.h","!defined(CONFIG_DISABLE_MQUEUE)","int","mqd_t","const struct mq_attr *","struct mq_attr *"
|
||||
"mq_timedreceive","mqueue.h","!defined(CONFIG_DISABLE_MQUEUE)","ssize_t","mqd_t","char*","size_t","FAR unsigned int*","const struct timespec*"
|
||||
"mq_timedsend","mqueue.h","!defined(CONFIG_DISABLE_MQUEUE)","int","mqd_t","const char*","size_t","unsigned int","const struct timespec*"
|
||||
"mq_unlink","mqueue.h","!defined(CONFIG_DISABLE_MQUEUE)","int","const char*"
|
||||
"nx_mkfifo","nuttx/drivers/drivers.h","defined(CONFIG_PIPES) && CONFIG_DEV_FIFO_SIZE > 0","int","FAR const char*","mode_t","size_t"
|
||||
"nx_pipe","nuttx/drivers/drivers.h","defined(CONFIG_PIPES) && CONFIG_DEV_PIPE_SIZE > 0","int","int [2]|int*","size_t"
|
||||
"mq_getattr","mqueue.h","!defined(CONFIG_DISABLE_MQUEUE)","int","mqd_t","FAR struct mq_attr *"
|
||||
"mq_notify","mqueue.h","!defined(CONFIG_DISABLE_MQUEUE)","int","mqd_t","FAR const struct sigevent *"
|
||||
"mq_open","mqueue.h","!defined(CONFIG_DISABLE_MQUEUE)","mqd_t","FAR const char *","int","...","mode_t","FAR struct mq_attr *"
|
||||
"mq_receive","mqueue.h","!defined(CONFIG_DISABLE_MQUEUE)","ssize_t","mqd_t","FAR char *","size_t","FAR unsigned int *"
|
||||
"mq_send","mqueue.h","!defined(CONFIG_DISABLE_MQUEUE)","int","mqd_t","FAR const char *","size_t","unsigned int"
|
||||
"mq_setattr","mqueue.h","!defined(CONFIG_DISABLE_MQUEUE)","int","mqd_t","FAR const struct mq_attr *","FAR struct mq_attr *"
|
||||
"mq_timedreceive","mqueue.h","!defined(CONFIG_DISABLE_MQUEUE)","ssize_t","mqd_t","FAR char *","size_t","FAR unsigned int *","FAR const struct timespec *"
|
||||
"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","defined(CONFIG_FS_RAMMAP)","int","FAR void *","size_t"
|
||||
"nx_mkfifo","nuttx/drivers/drivers.h","defined(CONFIG_PIPES) && CONFIG_DEV_FIFO_SIZE > 0","int","FAR const char *","mode_t","size_t"
|
||||
"nx_pipe","nuttx/drivers/drivers.h","defined(CONFIG_PIPES) && CONFIG_DEV_PIPE_SIZE > 0","int","int [2]|FAR int *","size_t"
|
||||
"nx_task_spawn","nuttx/spawn.h","defined(CONFIG_LIB_SYSCALL) && !defined(CONFIG_BUILD_KERNEL)","int","FAR const struct spawn_syscall_parms_s *"
|
||||
"nx_vsyslog","nuttx/syslog/syslog.h","","int","int","FAR const IPTR char*","FAR va_list*"
|
||||
"nx_vsyslog","nuttx/syslog/syslog.h","","int","int","FAR const IPTR char *","FAR va_list *"
|
||||
"on_exit","stdlib.h","defined(CONFIG_SCHED_ONEXIT)","int","CODE void (*)(int, FAR void *)","FAR void *"
|
||||
"open","fcntl.h","","int","const char*","int","...","mode_t"
|
||||
"opendir","dirent.h","","FAR DIR*","FAR const char*"
|
||||
"open","fcntl.h","","int","FAR const char *","int","...","mode_t"
|
||||
"opendir","dirent.h","","FAR DIR *","FAR const char *"
|
||||
"pgalloc", "nuttx/arch.h", "defined(CONFIG_BUILD_KERNEL)", "uintptr_t", "uintptr_t", "unsigned int"
|
||||
"poll","poll.h","","int","FAR struct pollfd*","nfds_t","int"
|
||||
"ppoll","poll.h","","int","FAR struct pollfd*","nfds_t","FAR const struct timespec *","FAR const sigset_t *"
|
||||
"poll","poll.h","","int","FAR struct pollfd *","nfds_t","int"
|
||||
"posix_spawn","spawn.h","!defined(CONFIG_BINFMT_DISABLE) && defined(CONFIG_LIBC_EXECFUNCS) && !defined(CONFIG_LIB_ENVPATH)","int","FAR pid_t *","FAR const char *","FAR const posix_spawn_file_actions_t *","FAR const posix_spawnattr_t *","FAR char * const []|FAR char * const *","FAR char * const []|FAR char * const *"
|
||||
"posix_spawnp","spawn.h","!defined(CONFIG_BINFMT_DISABLE) && defined(CONFIG_LIBC_EXECFUNCS) && defined(CONFIG_LIB_ENVPATH)","int","FAR pid_t *","FAR const char *","FAR const posix_spawn_file_actions_t *","FAR const posix_spawnattr_t *","FAR char * const []|FAR char * const *","FAR char * const []|FAR char * const *"
|
||||
"ppoll","poll.h","","int","FAR struct pollfd *","nfds_t","FAR const struct timespec *","FAR const sigset_t *"
|
||||
"prctl","sys/prctl.h", "CONFIG_TASK_NAME_SIZE > 0","int","int","...","uintptr_t"
|
||||
"pread","unistd.h","","ssize_t","int","FAR void*","size_t","off_t"
|
||||
"pselect","sys/select.h","","int","int","FAR fd_set*","FAR fd_set*","FAR fd_set*","FAR const struct timespec *","FAR const sigset_t *"
|
||||
"pwrite","unistd.h","","ssize_t","int","FAR const void*","size_t","off_t"
|
||||
"posix_spawnp","spawn.h","!defined(CONFIG_BINFMT_DISABLE) && defined(CONFIG_LIBC_EXECFUNCS) && defined(CONFIG_LIB_ENVPATH)","int","FAR pid_t *","FAR const char *","FAR const posix_spawn_file_actions_t *","FAR const posix_spawnattr_t *","FAR char *const []|FAR char *const *","FAR char *const []|FAR char *const *"
|
||||
"posix_spawn","spawn.h","!defined(CONFIG_BINFMT_DISABLE) && defined(CONFIG_LIBC_EXECFUNCS) && !defined(CONFIG_LIB_ENVPATH)","int","FAR pid_t *","FAR const char *","FAR const posix_spawn_file_actions_t *","FAR const posix_spawnattr_t *","FAR char *const []|FAR char *const *","FAR char *const []|FAR char *const *"
|
||||
"pread","unistd.h","","ssize_t","int","FAR void *","size_t","off_t"
|
||||
"pselect","sys/select.h","","int","int","FAR fd_set *","FAR fd_set *","FAR fd_set *","FAR const struct timespec *","FAR const sigset_t *"
|
||||
"pthread_cancel","pthread.h","!defined(CONFIG_DISABLE_PTHREAD)","int","pthread_t"
|
||||
"pthread_cleanup_pop","pthread.h","defined(CONFIG_PTHREAD_CLEANUP)","void","int"
|
||||
"pthread_cleanup_push","pthread.h","defined(CONFIG_PTHREAD_CLEANUP)","void","pthread_cleanup_t","FAR void*"
|
||||
"pthread_cond_broadcast","pthread.h","!defined(CONFIG_DISABLE_PTHREAD)","int","FAR pthread_cond_t*"
|
||||
"pthread_cond_signal","pthread.h","!defined(CONFIG_DISABLE_PTHREAD)","int","FAR pthread_cond_t*"
|
||||
"pthread_cond_timedwait","pthread.h","!defined(CONFIG_DISABLE_PTHREAD)","int","FAR pthread_cond_t*","FAR pthread_mutex_t*","FAR const struct timespec*"
|
||||
"pthread_cond_wait","pthread.h","!defined(CONFIG_DISABLE_PTHREAD)","int","FAR pthread_cond_t*","FAR pthread_mutex_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_cleanup_push","pthread.h","defined(CONFIG_PTHREAD_CLEANUP)","void","pthread_cleanup_t","FAR void *"
|
||||
"pthread_cond_broadcast","pthread.h","!defined(CONFIG_DISABLE_PTHREAD)","int","FAR pthread_cond_t *"
|
||||
"pthread_cond_signal","pthread.h","!defined(CONFIG_DISABLE_PTHREAD)","int","FAR pthread_cond_t *"
|
||||
"pthread_cond_timedwait","pthread.h","!defined(CONFIG_DISABLE_PTHREAD)","int","FAR pthread_cond_t *","FAR pthread_mutex_t *","FAR const struct timespec *"
|
||||
"pthread_cond_wait","pthread.h","!defined(CONFIG_DISABLE_PTHREAD)","int","FAR pthread_cond_t *","FAR pthread_mutex_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_detach","pthread.h","!defined(CONFIG_DISABLE_PTHREAD)","int","pthread_t"
|
||||
"pthread_exit","pthread.h","!defined(CONFIG_DISABLE_PTHREAD)","void","pthread_addr_t"
|
||||
"pthread_getaffinity_np","pthread.h","!defined(CONFIG_DISABLE_PTHREAD) && defined(CONFIG_SMP)","int","pthread_t","size_t","FAR cpu_set_t*"
|
||||
"pthread_getschedparam","pthread.h","!defined(CONFIG_DISABLE_PTHREAD)","int","pthread_t","FAR int*","FAR struct sched_param*"
|
||||
"pthread_getspecific","pthread.h","!defined(CONFIG_DISABLE_PTHREAD)","FAR void*","pthread_key_t"
|
||||
"pthread_join","pthread.h","!defined(CONFIG_DISABLE_PTHREAD)","int","pthread_t","FAR pthread_addr_t*"
|
||||
"pthread_key_create","pthread.h","!defined(CONFIG_DISABLE_PTHREAD)","int","FAR pthread_key_t*","CODE void (*)(FAR void*)"
|
||||
"pthread_getschedparam","pthread.h","!defined(CONFIG_DISABLE_PTHREAD)","int","pthread_t","FAR int *","FAR struct sched_param *"
|
||||
"pthread_getspecific","pthread.h","!defined(CONFIG_DISABLE_PTHREAD)","FAR void *","pthread_key_t"
|
||||
"pthread_join","pthread.h","!defined(CONFIG_DISABLE_PTHREAD)","int","pthread_t","FAR pthread_addr_t *"
|
||||
"pthread_key_create","pthread.h","!defined(CONFIG_DISABLE_PTHREAD)","int","FAR pthread_key_t *","CODE void (*)(FAR void*)"
|
||||
"pthread_key_delete","pthread.h","!defined(CONFIG_DISABLE_PTHREAD)","int","pthread_key_t"
|
||||
"pthread_kill","pthread.h","!defined(CONFIG_DISABLE_PTHREAD)","int","pthread_t","int"
|
||||
"pthread_mutex_destroy","pthread.h","!defined(CONFIG_DISABLE_PTHREAD)","int","FAR pthread_mutex_t*"
|
||||
"pthread_mutex_init","pthread.h","!defined(CONFIG_DISABLE_PTHREAD)","int","FAR pthread_mutex_t*","FAR const pthread_mutexattr_t*"
|
||||
"pthread_mutex_timedlock","pthread.h","!defined(CONFIG_DISABLE_PTHREAD)","int","FAR pthread_mutex_t*","FAR const struct timespec*"
|
||||
"pthread_mutex_trylock","pthread.h","!defined(CONFIG_DISABLE_PTHREAD)","int","FAR pthread_mutex_t*"
|
||||
"pthread_mutex_unlock","pthread.h","!defined(CONFIG_DISABLE_PTHREAD)","int","FAR pthread_mutex_t*"
|
||||
"pthread_mutex_consistent","pthread.h","!defined(CONFIG_DISABLE_PTHREAD) && !defined(CONFIG_PTHREAD_MUTEX_UNSAFE)","int","FAR pthread_mutex_t*"
|
||||
"pthread_setaffinity_np","pthread.h","!defined(CONFIG_DISABLE_PTHREAD) && defined(CONFIG_SMP)","int","pthread_t","size_t","FAR const cpu_set_t*"
|
||||
"pthread_setschedparam","pthread.h","!defined(CONFIG_DISABLE_PTHREAD)","int","pthread_t","int","FAR const struct sched_param*"
|
||||
"pthread_mutex_consistent","pthread.h","!defined(CONFIG_DISABLE_PTHREAD) && !defined(CONFIG_PTHREAD_MUTEX_UNSAFE)","int","FAR pthread_mutex_t *"
|
||||
"pthread_mutex_destroy","pthread.h","!defined(CONFIG_DISABLE_PTHREAD)","int","FAR pthread_mutex_t *"
|
||||
"pthread_mutex_init","pthread.h","!defined(CONFIG_DISABLE_PTHREAD)","int","FAR pthread_mutex_t *","FAR const pthread_mutexattr_t *"
|
||||
"pthread_mutex_timedlock","pthread.h","!defined(CONFIG_DISABLE_PTHREAD)","int","FAR pthread_mutex_t *","FAR const struct timespec *"
|
||||
"pthread_mutex_trylock","pthread.h","!defined(CONFIG_DISABLE_PTHREAD)","int","FAR pthread_mutex_t *"
|
||||
"pthread_mutex_unlock","pthread.h","!defined(CONFIG_DISABLE_PTHREAD)","int","FAR pthread_mutex_t *"
|
||||
"pthread_setaffinity_np","pthread.h","!defined(CONFIG_DISABLE_PTHREAD) && defined(CONFIG_SMP)","int","pthread_t","size_t","FAR const cpu_set_t *"
|
||||
"pthread_setschedparam","pthread.h","!defined(CONFIG_DISABLE_PTHREAD)","int","pthread_t","int","FAR const struct sched_param *"
|
||||
"pthread_setschedprio","pthread.h","!defined(CONFIG_DISABLE_PTHREAD)","int","pthread_t","int"
|
||||
"pthread_setspecific","pthread.h","!defined(CONFIG_DISABLE_PTHREAD)","int","pthread_key_t","FAR const void*"
|
||||
"pthread_sigmask","pthread.h","!defined(CONFIG_DISABLE_PTHREAD)","int","int","FAR const sigset_t*","FAR sigset_t*"
|
||||
"putenv","stdlib.h","!defined(CONFIG_DISABLE_ENVIRON)","int","FAR const char*"
|
||||
"read","unistd.h","","ssize_t","int","FAR void*","size_t"
|
||||
"readdir","dirent.h","","FAR struct dirent*","FAR DIR*"
|
||||
"pthread_setspecific","pthread.h","!defined(CONFIG_DISABLE_PTHREAD)","int","pthread_key_t","FAR const void *"
|
||||
"pthread_sigmask","pthread.h","!defined(CONFIG_DISABLE_PTHREAD)","int","int","FAR const sigset_t *","FAR sigset_t *"
|
||||
"putenv","stdlib.h","!defined(CONFIG_DISABLE_ENVIRON)","int","FAR const char *"
|
||||
"pwrite","unistd.h","","ssize_t","int","FAR const void *","size_t","off_t"
|
||||
"read","unistd.h","","ssize_t","int","FAR void *","size_t"
|
||||
"readdir","dirent.h","","FAR struct dirent *","FAR DIR *"
|
||||
"readlink","unistd.h","defined(CONFIG_PSEUDOFS_SOFTLINKS)","ssize_t","FAR const char *","FAR char *","size_t"
|
||||
"recv","sys/socket.h","defined(CONFIG_NET)","ssize_t","int","FAR void*","size_t","int"
|
||||
"recv","sys/socket.h","defined(CONFIG_NET)","ssize_t","int","FAR void *","size_t","int"
|
||||
"recvfrom","sys/socket.h","defined(CONFIG_NET)","ssize_t","int","FAR void*","size_t","int","FAR struct sockaddr*","FAR socklen_t*"
|
||||
"rename","stdio.h","!defined(CONFIG_DISABLE_MOUNTPOINT)","int","FAR const char*","FAR const char*"
|
||||
"rewinddir","dirent.h","","void","FAR DIR*"
|
||||
"rename","stdio.h","!defined(CONFIG_DISABLE_MOUNTPOINT)","int","FAR const char *","FAR const char *"
|
||||
"rewinddir","dirent.h","","void","FAR DIR *"
|
||||
"rmdir","unistd.h","!defined(CONFIG_DISABLE_MOUNTPOINT)","int","FAR const char*"
|
||||
"rmmod","nuttx/module.h","defined(CONFIG_MODULE)","int","FAR void *"
|
||||
"sched_getaffinity","sched.h","defined(CONFIG_SMP)","int","pid_t","size_t","FAR cpu_set_t*"
|
||||
"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","struct sched_param*"
|
||||
"sched_getparam","sched.h","","int","pid_t","FAR struct sched_param *"
|
||||
"sched_getscheduler","sched.h","","int","pid_t"
|
||||
"sched_getstreams","nuttx/sched.h","CONFIG_NFILE_STREAMS > 0","FAR struct streamlist*"
|
||||
"sched_get_stackinfo","nuttx/sched.h","","int","pid_t","struct stackinfo_s*"
|
||||
"sched_get_stackinfo","nuttx/sched.h","","int","pid_t","FAR struct stackinfo_s *"
|
||||
"sched_getstreams","nuttx/sched.h","CONFIG_NFILE_STREAMS > 0","FAR struct streamlist *"
|
||||
"sched_lock","sched.h","","int"
|
||||
"sched_lockcount","sched.h","","int32_t"
|
||||
"sched_rr_get_interval","sched.h","","int","pid_t","struct timespec*"
|
||||
"sched_lockcount","sched.h","","int"
|
||||
"sched_rr_get_interval","sched.h","","int","pid_t","struct timespec *"
|
||||
"sched_setaffinity","sched.h","defined(CONFIG_SMP)","int","pid_t","size_t","FAR const cpu_set_t*"
|
||||
"sched_setparam","sched.h","","int","pid_t","const struct sched_param*"
|
||||
"sched_setscheduler","sched.h","","int","pid_t","int","const struct sched_param*"
|
||||
"sched_setparam","sched.h","","int","pid_t","const struct sched_param *"
|
||||
"sched_setscheduler","sched.h","","int","pid_t","int","const struct sched_param *"
|
||||
"sched_unlock","sched.h","","int"
|
||||
"sched_yield","sched.h","","int"
|
||||
"seekdir","dirent.h","","void","FAR DIR*","off_t"
|
||||
"select","sys/select.h","","int","int","FAR fd_set*","FAR fd_set*","FAR fd_set*","FAR struct timeval*"
|
||||
"sem_close","semaphore.h","defined(CONFIG_FS_NAMED_SEMAPHORES)","int","FAR sem_t*"
|
||||
"sem_destroy","semaphore.h","","int","FAR sem_t*"
|
||||
"sem_open","semaphore.h","defined(CONFIG_FS_NAMED_SEMAPHORES)","FAR sem_t*","FAR const char*","int","...","mode_t","unsigned int"
|
||||
"sem_post","semaphore.h","","int","FAR sem_t*"
|
||||
"sem_setprotocol","nuttx/semaphore.h","defined(CONFIG_PRIORITY_INHERITANCE)","int","FAR sem_t*","int"
|
||||
"sem_timedwait","semaphore.h","","int","FAR sem_t*","FAR const struct timespec *"
|
||||
"sem_trywait","semaphore.h","","int","FAR sem_t*"
|
||||
"sem_unlink","semaphore.h","defined(CONFIG_FS_NAMED_SEMAPHORES)","int","FAR const char*"
|
||||
"sem_wait","semaphore.h","","int","FAR sem_t*"
|
||||
"send","sys/socket.h","defined(CONFIG_NET)","ssize_t","int","FAR const void*","size_t","int"
|
||||
"sendfile","sys/sendfile.h","defined(CONFIG_NET_SENDFILE)","ssize_t","int","int","FAR off_t*","size_t"
|
||||
"sendto","sys/socket.h","defined(CONFIG_NET)","ssize_t","int","FAR const void*","size_t","int","FAR const struct sockaddr*","socklen_t"
|
||||
"seekdir","dirent.h","","void","FAR DIR *","off_t"
|
||||
"select","sys/select.h","","int","int","FAR fd_set *","FAR fd_set *","FAR fd_set *","FAR struct timeval *"
|
||||
"sem_close","semaphore.h","defined(CONFIG_FS_NAMED_SEMAPHORES)","int","FAR sem_t *"
|
||||
"sem_destroy","semaphore.h","","int","FAR sem_t *"
|
||||
"sem_open","semaphore.h","defined(CONFIG_FS_NAMED_SEMAPHORES)","FAR sem_t *","FAR const char *","int","...","mode_t","unsigned int"
|
||||
"sem_post","semaphore.h","","int","FAR sem_t *"
|
||||
"sem_setprotocol","nuttx/semaphore.h","defined(CONFIG_PRIORITY_INHERITANCE)","int","FAR sem_t *","int"
|
||||
"sem_timedwait","semaphore.h","","int","FAR sem_t *","FAR const struct timespec *"
|
||||
"sem_trywait","semaphore.h","","int","FAR sem_t *"
|
||||
"sem_unlink","semaphore.h","defined(CONFIG_FS_NAMED_SEMAPHORES)","int","FAR const char *"
|
||||
"sem_wait","semaphore.h","","int","FAR sem_t *"
|
||||
"send","sys/socket.h","defined(CONFIG_NET)","ssize_t","int","FAR const void *","size_t","int"
|
||||
"sendfile","sys/sendfile.h","defined(CONFIG_NET_SENDFILE)","ssize_t","int","int","FAR off_t *","size_t"
|
||||
"sendto","sys/socket.h","defined(CONFIG_NET)","ssize_t","int","FAR const void *","size_t","int","FAR const struct sockaddr *","socklen_t"
|
||||
"set_errno","errno.h","!defined(__DIRECT_ERRNO_ACCESS)","void","int"
|
||||
"setenv","stdlib.h","!defined(CONFIG_DISABLE_ENVIRON)","int","FAR const char*","FAR const char*","int"
|
||||
"setenv","stdlib.h","!defined(CONFIG_DISABLE_ENVIRON)","int","FAR const char *","FAR const char *","int"
|
||||
"setgid","unistd.h","defined(CONFIG_SCHED_USER_IDENTITY)","int","gid_t"
|
||||
"sethostname","unistd.h","defined(CONFIG_LIBC_NETDB)","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"
|
||||
"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"
|
||||
"setuid","unistd.h","defined(CONFIG_SCHED_USER_IDENTITY)","int","uid_t"
|
||||
"shmat", "sys/shm.h", "defined(CONFIG_MM_SHM)", "FAR void *", "int", "FAR const void *", "int"
|
||||
"shmctl", "sys/shm.h", "defined(CONFIG_MM_SHM)", "int", "int", "int", "FAR struct shmid_ds *"
|
||||
"shmdt", "sys/shm.h", "defined(CONFIG_MM_SHM)", "int", "FAR const void *"
|
||||
"shmget", "sys/shm.h", "defined(CONFIG_MM_SHM)", "int", "key_t", "size_t", "int"
|
||||
"sigaction","signal.h","","int","int","FAR const struct sigaction*","FAR struct sigaction*"
|
||||
"sigpending","signal.h","","int","FAR sigset_t*"
|
||||
"sigprocmask","signal.h","","int","int","FAR const sigset_t*","FAR sigset_t*"
|
||||
"shmat","sys/shm.h","defined(CONFIG_MM_SHM)","FAR void *","int","FAR const void *","int"
|
||||
"shmctl","sys/shm.h","defined(CONFIG_MM_SHM)","int","int","int","FAR struct shmid_ds *"
|
||||
"shmdt","sys/shm.h","defined(CONFIG_MM_SHM)","int","FAR const void *"
|
||||
"shmget","sys/shm.h","defined(CONFIG_MM_SHM)","int","key_t","size_t","int"
|
||||
"sigaction","signal.h","","int","int","FAR const struct sigaction *","FAR struct sigaction *"
|
||||
"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"
|
||||
"sigsuspend","signal.h","","int","FAR const sigset_t*"
|
||||
"sigtimedwait","signal.h","","int","FAR const sigset_t*","FAR struct siginfo*","FAR const struct timespec*"
|
||||
"sigwaitinfo","signal.h","","int","FAR const sigset_t*","FAR struct siginfo*"
|
||||
"sigsuspend","signal.h","","int","FAR const sigset_t *"
|
||||
"sigtimedwait","signal.h","","int","FAR const sigset_t *","FAR struct siginfo *","FAR const struct timespec *"
|
||||
"sigwaitinfo","signal.h","","int","FAR const sigset_t *","FAR struct siginfo *"
|
||||
"socket","sys/socket.h","defined(CONFIG_NET)","int","int","int","int"
|
||||
"stat","sys/stat.h","","int","const char*","FAR struct stat*"
|
||||
"statfs","sys/statfs.h","","int","FAR const char*","FAR struct statfs*"
|
||||
"task_create","sched.h","!defined(CONFIG_BUILD_KERNEL)", "int","FAR const char*","int","int","main_t","FAR char * const []|FAR char * const *"
|
||||
"stat","sys/stat.h","","int","FAR const char *","FAR struct stat *"
|
||||
"statfs","sys/statfs.h","","int","FAR const char *","FAR struct statfs *"
|
||||
"task_create","sched.h","!defined(CONFIG_BUILD_KERNEL)", "int","FAR const char *","int","int","main_t","FAR char * const []|FAR char * const *"
|
||||
"task_delete","sched.h","","int","pid_t"
|
||||
"task_restart","sched.h","","int","pid_t"
|
||||
"task_setcancelstate","sched.h","","int","int","FAR int*"
|
||||
"task_setcanceltype","sched.h","defined(CONFIG_CANCELLATION_POINTS)","int","int","FAR int*"
|
||||
"task_setcancelstate","sched.h","","int","int","FAR int *"
|
||||
"task_setcanceltype","sched.h","defined(CONFIG_CANCELLATION_POINTS)","int","int","FAR int *"
|
||||
"task_testcancel","pthread.h","defined(CONFIG_CANCELLATION_POINTS)","void"
|
||||
"tcdrain","termios.h","defined(CONFIG_SERIAL_TERMIOS)","int","int"
|
||||
"telldir","dirent.h","","off_t","FAR DIR*"
|
||||
"timer_create","time.h","!defined(CONFIG_DISABLE_POSIX_TIMERS)","int","clockid_t","FAR struct sigevent*","FAR timer_t*"
|
||||
"telldir","dirent.h","","off_t","FAR DIR *"
|
||||
"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"
|
||||
"timer_gettime","time.h","!defined(CONFIG_DISABLE_POSIX_TIMERS)","int","timer_t","FAR struct itimerspec *"
|
||||
"timer_settime","time.h","!defined(CONFIG_DISABLE_POSIX_TIMERS)","int","timer_t","int","FAR const struct itimerspec*","FAR struct itimerspec*"
|
||||
"umount2","sys/mount.h","!defined(CONFIG_DISABLE_MOUNTPOINT)","int","FAR const char*","unsigned int"
|
||||
"uname","sys/utsname.h","","int","FAR struct utsname*"
|
||||
"unlink","unistd.h","!defined(CONFIG_DISABLE_MOUNTPOINT)","int","FAR const char*"
|
||||
"unsetenv","stdlib.h","!defined(CONFIG_DISABLE_ENVIRON)","int","const char*"
|
||||
"up_assert","assert.h","","void","FAR const uint8_t*","int"
|
||||
"timer_settime","time.h","!defined(CONFIG_DISABLE_POSIX_TIMERS)","int","timer_t","int","FAR const struct itimerspec *","FAR struct itimerspec *"
|
||||
"umount2","sys/mount.h","!defined(CONFIG_DISABLE_MOUNTPOINT)","int","FAR const char *","unsigned int"
|
||||
"uname","sys/utsname.h","","int","FAR struct utsname *"
|
||||
"unlink","unistd.h","!defined(CONFIG_DISABLE_MOUNTPOINT)","int","FAR const char *"
|
||||
"unsetenv","stdlib.h","!defined(CONFIG_DISABLE_ENVIRON)","int","FAR const char *"
|
||||
"up_assert","assert.h","","void","FAR const uint8_t *","int"
|
||||
"vfork","unistd.h","defined(CONFIG_SCHED_WAITPID) && defined(CONFIG_ARCH_HAVE_VFORK)","pid_t"
|
||||
"wait","sys/wait.h","defined(CONFIG_SCHED_WAITPID) && defined(CONFIG_SCHED_HAVE_PARENT)","pid_t","int*"
|
||||
"wait","sys/wait.h","defined(CONFIG_SCHED_WAITPID) && defined(CONFIG_SCHED_HAVE_PARENT)","pid_t","FAR int *"
|
||||
"waitid","sys/wait.h","defined(CONFIG_SCHED_WAITPID) && defined(CONFIG_SCHED_HAVE_PARENT)","int","idtype_t","id_t"," FAR siginfo_t *","int"
|
||||
"waitpid","sys/wait.h","defined(CONFIG_SCHED_WAITPID)","pid_t","pid_t","int*","int"
|
||||
"write","unistd.h","","ssize_t","int","FAR const void*","size_t"
|
||||
"waitpid","sys/wait.h","defined(CONFIG_SCHED_WAITPID)","pid_t","pid_t","FAR int *","int"
|
||||
"write","unistd.h","","ssize_t","int","FAR const void *","size_t"
|
||||
|
||||
|
@@ -46,34 +46,50 @@
|
||||
|
||||
#if defined(CONFIG_LIB_SYSCALL) && defined(__KERNEL__)
|
||||
|
||||
#include <sys/stat.h>
|
||||
#include <sys/wait.h>
|
||||
#include <nuttx/arch.h>
|
||||
#include <nuttx/binfmt/binfmt.h>
|
||||
#include <nuttx/drivers/drivers.h>
|
||||
#include <nuttx/fs/fs.h>
|
||||
#include <nuttx/module.h>
|
||||
#include <nuttx/sched.h>
|
||||
#include <nuttx/semaphore.h>
|
||||
#include <nuttx/spawn.h>
|
||||
#include <nuttx/syslog/syslog.h>
|
||||
|
||||
#include <sys/boardctl.h>
|
||||
#include <sys/ioctl.h>
|
||||
#include <sys/time.h>
|
||||
#include <sys/select.h>
|
||||
#include <sys/mman.h>
|
||||
#include <sys/mount.h>
|
||||
#include <sys/prctl.h>
|
||||
#include <sys/random.h>
|
||||
#include <sys/select.h>
|
||||
#include <sys/sendfile.h>
|
||||
#include <sys/shm.h>
|
||||
#include <sys/socket.h>
|
||||
#include <sys/stat.h>
|
||||
#include <sys/statfs.h>
|
||||
#include <sys/prctl.h>
|
||||
#include <sys/socket.h>
|
||||
#include <sys/mount.h>
|
||||
#include <sys/boardctl.h>
|
||||
#include <sys/time.h>
|
||||
#include <sys/utsname.h>
|
||||
#include <sys/wait.h>
|
||||
|
||||
#include <stdio.h>
|
||||
#include <stdlib.h>
|
||||
#include <unistd.h>
|
||||
#include <fcntl.h>
|
||||
#include <aio.h>
|
||||
#include <assert.h>
|
||||
#include <dirent.h>
|
||||
#include <errno.h>
|
||||
#include <fcntl.h>
|
||||
#include <mqueue.h>
|
||||
#include <net/if.h>
|
||||
#include <poll.h>
|
||||
#include <time.h>
|
||||
#include <sched.h>
|
||||
#include <pthread.h>
|
||||
#include <sched.h>
|
||||
#include <semaphore.h>
|
||||
#include <signal.h>
|
||||
#include <mqueue.h>
|
||||
#include <spawn.h>
|
||||
#include <stdio.h>
|
||||
#include <stdlib.h>
|
||||
#include <termios.h>
|
||||
#include <assert.h>
|
||||
#include <time.h>
|
||||
#include <unistd.h>
|
||||
|
||||
/* Errno access is awkward. We need to generate get_errno() and set_errno()
|
||||
* interfaces to support the system calls, even though we don't use them
|
||||
@@ -86,9 +102,6 @@
|
||||
#undef get_errno
|
||||
#undef set_errno
|
||||
|
||||
#include <errno.h>
|
||||
#include <nuttx/clock.h>
|
||||
|
||||
/****************************************************************************
|
||||
* Pre-processor Definitions
|
||||
****************************************************************************/
|
||||
|
||||
Reference in New Issue
Block a user