Skip to content

Commit

Permalink
[kernel|doc] Fixed socket send(s) description
Browse files Browse the repository at this point in the history
Fixed the descriptions of all the send functions
(which had an incorrect return value described,
contradicting the spec).

OTP-18584
  • Loading branch information
bmk committed May 22, 2023
1 parent 8c0ea6b commit 97b1ca0
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions lib/kernel/doc/src/socket.xml
Original file line number Diff line number Diff line change
Expand Up @@ -3291,7 +3291,7 @@
If some of the data was sent, the function will return
<seetype marker="#select_info">
<c>
{ok,&nbsp;{<anno>RestData</anno>,&nbsp;<anno>SelectInfo</anno>},
{select,&nbsp;{<anno>RestData</anno>,&nbsp;<anno>SelectInfo</anno>},
</c>
</seetype>
which can only happen (on <i>Unix</i>) for a socket of
Expand Down Expand Up @@ -3525,7 +3525,7 @@
If some of the data was sent, the function will return
<seetype marker="#select_info">
<c>
{ok,&nbsp;{<anno>RestData</anno>,&nbsp;<anno>SelectInfo</anno>},
{select,&nbsp;{<anno>RestData</anno>,&nbsp;<anno>SelectInfo</anno>},
</c>
</seetype>
which can only happen for a socket of
Expand Down Expand Up @@ -3723,7 +3723,7 @@
If some of the data was sent, the function will return
<seetype marker="#select_info">
<c>
{ok,&nbsp;{<anno>RestData</anno>,&nbsp;<anno>SelectInfo</anno>},
{select,&nbsp;{<anno>RestData</anno>,&nbsp;<anno>SelectInfo</anno>},
</c>
</seetype>
which can only happen (on <i>Unix</i>) for a socket of
Expand Down

0 comments on commit 97b1ca0

Please sign in to comment.