mirror of https://github.com/mkerrisk/man-pages
unix.7: When sending ancillary data, only one item of each type may be sent
Verified by experiment and reading the source code (although the SCM_RIGHTS case is not so clear to me in the source code). Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
This commit is contained in:
parent
52900faab3
commit
5b5cb19580
|
@ -436,6 +436,10 @@ message, the
|
|||
.B SO_PASSCRED
|
||||
option must be enabled on the socket.
|
||||
.PP
|
||||
When sending ancillary data with
|
||||
.BR sendmsg (2),
|
||||
only one item of each of the above types may be included in the sent message.
|
||||
.PP
|
||||
If the space allocated for receiving incoming ancillary data is too small,
|
||||
then the ancillary data is truncated to the number of headers
|
||||
that will fit in the supplied buffer (or, in the case of an
|
||||
|
|
Loading…
Reference in New Issue