diff options
author | jhb <jhb@FreeBSD.org> | 2001-11-05 18:05:56 +0000 |
---|---|---|
committer | jhb <jhb@FreeBSD.org> | 2001-11-05 18:05:56 +0000 |
commit | 815c903d62ca6edef2915e089d29443365138986 (patch) | |
tree | 3685d01de8b6a12cb11f65ac0d3aa2097ae562f9 /lib | |
parent | 6bd8569386ec2b38860d87ad7c895761dfaf1f26 (diff) | |
download | FreeBSD-src-815c903d62ca6edef2915e089d29443365138986.zip FreeBSD-src-815c903d62ca6edef2915e089d29443365138986.tar.gz |
- 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
Diffstat (limited to 'lib')
-rw-r--r-- | lib/libc/sys/bind.2 | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/libc/sys/bind.2 b/lib/libc/sys/bind.2 index cda9822..448ee8e 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 |