diff options
author | John Baldwin <jhb@FreeBSD.org> | 2001-11-05 18:05:56 +0000 |
---|---|---|
committer | John Baldwin <jhb@FreeBSD.org> | 2001-11-05 18:05:56 +0000 |
commit | 93b2ae9fcf399d40b5b0fa3c4792cef61a616d16 (patch) | |
tree | 3685d01de8b6a12cb11f65ac0d3aa2097ae562f9 /lib/libc/sys/bind.2 | |
parent | 3bc1038274009db6d6f0e7db120e5b5e2980ae6a (diff) | |
download | src-93b2ae9fcf399d40b5b0fa3c4792cef61a616d16.tar.gz src-93b2ae9fcf399d40b5b0fa3c4792cef61a616d16.zip |
- 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
Notes
Notes:
svn path=/head/; revision=86087
Diffstat (limited to 'lib/libc/sys/bind.2')
-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 cda98221c9c0..448ee8e4c577 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 |