From 93b2ae9fcf399d40b5b0fa3c4792cef61a616d16 Mon Sep 17 00:00:00 2001 From: John Baldwin Date: Mon, 5 Nov 2001 18:05:56 +0000 Subject: [PATCH] - There is no such thing as a socket structure. sockets are integers. I'm assuming that the comment was regarding socket address structures, so correct the comment about pre-zero'ing socket structures to recommend pre-zero'ing socket address structures. - Fix some minor grammar nits. - This isn't directly submitted by the PR below but is related to it and was inspired by it. PR: 31704 --- lib/libc/sys/bind.2 | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/lib/libc/sys/bind.2 b/lib/libc/sys/bind.2 index cda98221c9c..448ee8e4c57 100644 --- a/lib/libc/sys/bind.2 +++ b/lib/libc/sys/bind.2 @@ -65,8 +65,8 @@ needed (using The rules used in address binding vary between communication domains. Consult the manual entries in section 4 for detailed information. .Pp -For maximum portability, you should always zero-out the socket structure -before populating it, before passing it to +For maximum portability, you should always zero the socket address structure +before populating it and passing it to .Fn bind . .Sh RETURN VALUES .Rv -std bind