serial: Move tcdrain implementation from drivers/serial to libc

Signed-off-by: Xiang Xiao <xiaoxiang@xiaomi.com>
This commit is contained in:
Xiang Xiao
2021-12-17 22:02:43 +08:00
committed by Gustavo Henrique Nihei
parent a010cb1af1
commit 86684105f9
6 changed files with 29 additions and 46 deletions
-1
View File
@@ -177,7 +177,6 @@
"task_setcanceltype","sched.h","defined(CONFIG_CANCELLATION_POINTS)","int","int","FAR int *"
"task_spawn","nuttx/spawn.h","!defined(CONFIG_BUILD_KERNEL)","int","FAR const char *","main_t","FAR const posix_spawn_file_actions_t *","FAR const posix_spawnattr_t *","FAR char * const []|FAR char * const *","FAR char * const []|FAR char * const *"
"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 *"
"timer_delete","time.h","!defined(CONFIG_DISABLE_POSIX_TIMERS)","int","timer_t"
1 _exit unistd.h noreturn int
177 task_setcanceltype sched.h defined(CONFIG_CANCELLATION_POINTS) int int
178 task_spawn nuttx/spawn.h !defined(CONFIG_BUILD_KERNEL) int FAR const char *
179 task_testcancel pthread.h defined(CONFIG_CANCELLATION_POINTS) void
tcdrain termios.h defined(CONFIG_SERIAL_TERMIOS) int int
180 telldir dirent.h off_t FAR DIR *
181 timer_create time.h !defined(CONFIG_DISABLE_POSIX_TIMERS) int clockid_t
182 timer_delete time.h !defined(CONFIG_DISABLE_POSIX_TIMERS) int timer_t