增加RT_USING_POSIX_GETLINE用于单独控制是否启用getline函数,并修改Kconfig增加对应选项

This commit is contained in:
mysterywolf
2020-09-05 19:47:34 +08:00
parent cf00e7f0a1
commit 443978eb78
3 changed files with 8 additions and 4 deletions
+6 -2
View File
@@ -22,11 +22,15 @@ if RT_USING_LIBC && RT_USING_DFS
if RT_USING_POSIX
config RT_USING_POSIX_MMAP
bool "Enable mmap() api"
bool "Enable mmap() API"
default n
config RT_USING_POSIX_TERMIOS
bool "Enable termios feature"
bool "Enable termios APIs"
default n
config RT_USING_POSIX_GETLINE
bool "Enable getline()/getdelim() APIs"
default n
config RT_USING_POSIX_AIO