mirror of https://github.com/mkerrisk/man-pages
unix.7: tfix
In the given example, the second recvmsg(2) call should receive four bytes, as the third sendmsg(2) call only sends four. Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
This commit is contained in:
parent
6a14132925
commit
897367f900
|
@ -566,7 +566,7 @@ The first call will receive five bytes of data,
|
||||||
along with the ancillary data sent by the second
|
along with the ancillary data sent by the second
|
||||||
.BR sendmsg (2)
|
.BR sendmsg (2)
|
||||||
call.
|
call.
|
||||||
The next call will receive the remaining five bytes of data.
|
The next call will receive the remaining four bytes of data.
|
||||||
.PP
|
.PP
|
||||||
If the space allocated for receiving incoming ancillary data is too small
|
If the space allocated for receiving incoming ancillary data is too small
|
||||||
then the ancillary data is truncated to the number of headers
|
then the ancillary data is truncated to the number of headers
|
||||||
|
|
Loading…
Reference in New Issue