From 6f0540e7eca61fa10344699d023f4a90f705601d Mon Sep 17 00:00:00 2001 From: Bernhard Reutner-Fischer Date: Tue, 12 Dec 2006 11:50:44 +0000 Subject: - remove functions marked as LEGACY in SUSv3 and use their modern counterparts. --- docs/ipv4_ipv6.txt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'docs') diff --git a/docs/ipv4_ipv6.txt b/docs/ipv4_ipv6.txt index e83db0dbd..92010b59c 100644 --- a/docs/ipv4_ipv6.txt +++ b/docs/ipv4_ipv6.txt @@ -166,7 +166,7 @@ Modified IPv6-aware C code: int error; /* Get host address. Any type of address will do. */ - bzero(&hints, sizeof(hints)); + memset(&hints, 0, sizeof(hints)); hints.ai_flags = AI_ALL|AI_ADDRCONFIG; hints.ai_socktype = SOCK_STREAM; -- cgit v1.2.3