cmsg.3: Note that CMSG_FIRSTHDR can return NULL

Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
This commit is contained in:
Michael Kerrisk 2018-07-10 06:55:50 +02:00
parent 5b5cb19580
commit f565c3ee3e
1 changed files with 3 additions and 0 deletions

View File

@ -78,6 +78,9 @@ returns a pointer to the first
in the ancillary
data buffer associated with the passed
.IR msghdr .
It returns NULL if there isn't enough space for a
.I cmsghdr
in the buffer.
.IP *
.BR CMSG_NXTHDR ()
returns the next valid