summaryrefslogtreecommitdiff
path: root/docs/ipv4_ipv6.txt
diff options
context:
space:
mode:
authorBernhard Reutner-Fischer2006-12-12 11:50:44 +0000
committerBernhard Reutner-Fischer2006-12-12 11:50:44 +0000
commit6f0540e7eca61fa10344699d023f4a90f705601d (patch)
treea71489f9c5b37b4095d05345f3ac2dc33fb6835b /docs/ipv4_ipv6.txt
parent32f3ebf08f1c3fbd7279cb031efc87a9ddfa5502 (diff)
downloadbusybox-6f0540e7eca61fa10344699d023f4a90f705601d.zip
busybox-6f0540e7eca61fa10344699d023f4a90f705601d.tar.gz
- remove functions marked as LEGACY in SUSv3 and use their modern counterparts.
Diffstat (limited to 'docs/ipv4_ipv6.txt')
-rw-r--r--docs/ipv4_ipv6.txt2
1 files changed, 1 insertions, 1 deletions
diff --git a/docs/ipv4_ipv6.txt b/docs/ipv4_ipv6.txt
index e83db0d..92010b5 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;