nuttx/libs/libc/net
zhanghongyu d59a9ea189 inet_addr: return INADDR_NONE(-1) when input string is invalid
now:
inet_network("300.10.10.10"); return 0
inet_addr("300.10.10.10"); return 0

glibc and muscle both return INADDR_NONE or -1.

Signed-off-by: zhanghongyu <zhanghongyu@xiaomi.com>
2023-06-13 13:31:37 +08:00
..
Kconfig
lib_accept.c
lib_addrconfig.c
lib_addroute.c
lib_base64.c
lib_delroute.c
lib_etheraton.c
lib_etherntoa.c
lib_freeifaddrs.c
lib_freenameindex.c
lib_getifaddrs.c
lib_htonl.c
lib_htons.c
lib_indextoname.c
lib_inetaddr.c inet_addr: return INADDR_NONE(-1) when input string is invalid 2023-06-13 13:31:37 +08:00
lib_inetaton.c
lib_inetnetwork.c
lib_inetntoa.c
lib_inetntop.c
lib_inetpton.c
lib_loopback.c
lib_nameindex.c
lib_nametoindex.c
Make.defs