diff options
Diffstat (limited to 'man3/cmsg.3')
| -rw-r--r-- | man3/cmsg.3 | 42 |
1 files changed, 21 insertions, 21 deletions
diff --git a/man3/cmsg.3 b/man3/cmsg.3 index 4f17ea6698..cc8f3dff6f 100644 --- a/man3/cmsg.3 +++ b/man3/cmsg.3 @@ -134,6 +134,27 @@ flag is set in the .I msg_flags member of the .BR msghdr . +.SH "CONFORMING TO" +This ancillary data model conforms to the POSIX.1g draft, 4.4BSD-Lite, +the IPv6 advanced API described in RFC\ 2292 and the SUSv2. +.B +CMSG_ALIGN +is a Linux extension. +.SH NOTES +For portability, ancillary data should be accessed only using the macros +described here. +.BR CMSG_ALIGN () +is a Linux extension and should be not used in portable programs. +.PP +In Linux, +.BR CMSG_LEN , +.BR CMSG_DATA , +and +.BR CMSG_ALIGN () +are constant expressions (assuming their argument is constant); +this could be used to declare the size of global +variables. +This may be not portable, however. .SH EXAMPLE This code looks for the .B IP_TTL @@ -192,27 +213,6 @@ msg.msg_controllen = cmsg->cmsg_len; .ta .fi .RE -.SH NOTES -For portability, ancillary data should be accessed only using the macros -described here. -.BR CMSG_ALIGN () -is a Linux extension and should be not used in portable programs. -.PP -In Linux, -.BR CMSG_LEN , -.BR CMSG_DATA , -and -.BR CMSG_ALIGN () -are constant expressions (assuming their argument is constant); -this could be used to declare the size of global -variables. -This may be not portable, however. -.SH "CONFORMING TO" -This ancillary data model conforms to the POSIX.1g draft, 4.4BSD-Lite, -the IPv6 advanced API described in RFC\ 2292 and the SUSv2. -.B -CMSG_ALIGN -is a Linux extension. .SH "SEE ALSO" .BR recvmsg (2), .BR sendmsg (2) |
