mirror of
https://github.com/apache/nuttx.git
synced 2026-05-31 05:55:46 +08:00
libs/libc/netdb: Add getaddrinfo() and friends.
This commit is contained in:
committed by
Gregory Nutt
parent
5c8a975d79
commit
1f4a1eab6d
@@ -9,6 +9,15 @@ config LIBC_NETDB
|
||||
|
||||
menu "NETDB Support"
|
||||
|
||||
config LIBC_GAISTRERROR
|
||||
bool "Enable gai_strerror"
|
||||
default n
|
||||
---help---
|
||||
The gai_strerror() function shall return a text string describing an error
|
||||
value for the getaddrinfo() and getnameinfo(). But it can also require a lot
|
||||
of memory. If this option is not selected, gai_strerror() will still exist in
|
||||
the build but it will not decode error values.
|
||||
|
||||
menuconfig NETDB_HOSTFILE
|
||||
bool "Network host file support"
|
||||
default n
|
||||
|
||||
Reference in New Issue
Block a user