nuttx/libs/libc/netdb
Zhe Weng d8da8dcc44 libc: Print error code for unknown errors in strerror/gai_strerror
Ref: Linux print unknown errors like "Unknown error nnn"
https://man7.org/linux/man-pages/man3/strerror.3.html#RETURN_VALUE

Note:
These interfaces are called at low freq, so a static buffer may be enough.

Signed-off-by: Zhe Weng <wengzhe@xiaomi.com>
2023-04-22 01:46:39 +08:00
..
Kconfig libc: Print error code for unknown errors in strerror/gai_strerror 2023-04-22 01:46:39 +08:00
lib_dn.c
lib_dns.h invalid dns cache entry after ttl expires 2023-01-29 14:32:33 +08:00
lib_dnsaddserver.c lib/netdb: Rename dns_sem[take|give] with dns_[lock|unlock] 2022-11-09 21:38:10 +01:00
lib_dnsbind.c netdb/dns: add support of send timeout 2022-12-16 09:51:15 +08:00
lib_dnscache.c invalid dns cache entry after ttl expires 2023-01-29 14:32:33 +08:00
lib_dnsdefaultserver.c lib/netdb: Rename dns_sem[take|give] with dns_[lock|unlock] 2022-11-09 21:38:10 +01:00
lib_dnsforeach.c dns: Reduce the dns_lock granularity 2022-11-11 20:07:05 +08:00
lib_dnsinit.c dns: Reduce the dns_lock granularity 2022-11-11 20:07:05 +08:00
lib_dnsnotify.c lib/netdb: Rename dns_sem[take|give] with dns_[lock|unlock] 2022-11-09 21:38:10 +01:00
lib_dnsquery.c Revert "netdb: fix access within misaligned address error" 2023-01-29 14:35:01 +08:00
lib_freeaddrinfo.c
lib_gaistrerror.c libc: Print error code for unknown errors in strerror/gai_strerror 2023-04-22 01:46:39 +08:00
lib_getaddrinfo.c getaddrinfo: add AI_NUMERICHOST flag handle 2023-01-12 01:40:11 +08:00
lib_gethostbyaddr.c
lib_gethostbyaddrr.c Replace all strncpy with strlcpy for safety 2022-08-25 13:38:36 +08:00
lib_gethostbyname2.c
lib_gethostbyname2r.c getaddrinfo: add AI_NUMERICHOST flag handle 2023-01-12 01:40:11 +08:00
lib_gethostbyname.c
lib_gethostbynamer.c
lib_gethostentbynamer.c libs/netdb: add sanity check to avoid null pointer reference 2023-01-30 23:37:29 +08:00
lib_getnameinfo.c libs: Convert DEBUGASSERT(false) into more intuitive DEBUGPANIC() 2022-07-14 12:08:45 +08:00
lib_getservbyname.c
lib_getservbynamer.c Return -EINVAL for the internal API 2022-09-30 17:54:56 +02:00
lib_getservbyport.c
lib_getservbyportr.c
lib_netdb.c
lib_netdb.h getaddrinfo: add AI_NUMERICHOST flag handle 2023-01-12 01:40:11 +08:00
lib_parsehostfile.c
lib_proto.c libc/netdb: add proto.c 2022-12-10 02:36:24 +08:00
lib_protor.c libc/netdb: add proto.c 2022-12-10 02:36:24 +08:00
lib_rexec.c netdb: Add return check in rexec_af 2023-01-27 15:31:28 -03:00
Make.defs libc/netdb: add proto.c 2022-12-10 02:36:24 +08:00