Move the declaration of nx_mkfifo/nx_pipe to nuttx/fs/fs.h

the new location is better than nuttx/drivers/drivers.h
since they are part of the file system api.

Signed-off-by: Xiang Xiao <xiaoxiang@xiaomi.com>
This commit is contained in:
Xiang Xiao
2021-01-02 05:34:21 +08:00
committed by archer
parent 86fab49c46
commit 4d4cba41f6
9 changed files with 71 additions and 74 deletions
+2 -2
View File
@@ -63,8 +63,8 @@
"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","int"
"nx_mkfifo","nuttx/fs/fs.h","defined(CONFIG_PIPES) && CONFIG_DEV_FIFO_SIZE > 0","int","FAR const char *","mode_t","size_t"
"nx_pipe","nuttx/fs/fs.h","defined(CONFIG_PIPES) && CONFIG_DEV_PIPE_SIZE > 0","int","int [2]|FAR int *","size_t","int"
"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 *"
"nxsched_get_stackinfo","nuttx/sched.h","","int","pid_t","FAR struct stackinfo_s *"
1 _exit unistd.h void int
63 mq_timedsend mqueue.h !defined(CONFIG_DISABLE_MQUEUE) int mqd_t
64 mq_unlink mqueue.h !defined(CONFIG_DISABLE_MQUEUE) int FAR const char *
65 munmap sys/mman.h defined(CONFIG_FS_RAMMAP) int FAR void *
66 nx_mkfifo nuttx/drivers/drivers.h nuttx/fs/fs.h defined(CONFIG_PIPES) && CONFIG_DEV_FIFO_SIZE > 0 int FAR const char *
67 nx_pipe nuttx/drivers/drivers.h nuttx/fs/fs.h defined(CONFIG_PIPES) && CONFIG_DEV_PIPE_SIZE > 0 int int [2]|FAR int *
68 nx_task_spawn nuttx/spawn.h defined(CONFIG_LIB_SYSCALL) && !defined(CONFIG_BUILD_KERNEL) int FAR const struct spawn_syscall_parms_s *
69 nx_vsyslog nuttx/syslog/syslog.h int int
70 nxsched_get_stackinfo nuttx/sched.h int pid_t