diff options
author | dm <dm@cvs.openbsd.org> | 1996-06-30 03:48:04 +0000 |
---|---|---|
committer | dm <dm@cvs.openbsd.org> | 1996-06-30 03:48:04 +0000 |
commit | 574d26d4d626e1f309a54ff083e782f97cf23143 (patch) | |
tree | 3171d8dfdb40e9a0117d5f32390cc3867eb8c652 /lib/libc/sys/recv.2 | |
parent | 897a753b622a1159c54ee7ca9a0abcf1873e5a5c (diff) |
destination address should have read source, return description was ambigous.
Diffstat (limited to 'lib/libc/sys/recv.2')
-rw-r--r-- | lib/libc/sys/recv.2 | 9 |
1 files changed, 4 insertions, 5 deletions
diff --git a/lib/libc/sys/recv.2 b/lib/libc/sys/recv.2 index 267a45b838d..75ef209bf76 100644 --- a/lib/libc/sys/recv.2 +++ b/lib/libc/sys/recv.2 @@ -82,10 +82,9 @@ with a nil parameter. As it is redundant, it may not be supported in future releases. .Pp -All three routines return the length of the message on successful -completion. -If a message is too long to fit in the supplied buffer, -excess bytes may be discarded depending on the type of socket +On successful completion, all three routines return the number of +message bytes read. If a message is too long to fit in the supplied +buffer, excess bytes may be discarded depending on the type of socket the message is received from (see .Xr socket 2 ) . .Pp @@ -162,7 +161,7 @@ Here .Fa msg_name and .Fa msg_namelen -specify the destination address if the socket is unconnected; +specify the source address if the socket is unconnected; .Fa msg_name may be given as a null pointer if no names are desired or required. .Fa Msg_iov |