libs/libc/netdb: Add getaddrinfo() and friends.

This commit is contained in:
Juha Niskanen
2018-06-08 07:07:21 -06:00
committed by Gregory Nutt
parent 5c8a975d79
commit 1f4a1eab6d
14 changed files with 789 additions and 35 deletions
+9
View File
@@ -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