This commit is contained in:
Michael Kerrisk 2008-07-07 13:00:11 +00:00
parent ec774e61b9
commit e69ecf9339
1 changed files with 6 additions and 6 deletions

View File

@ -80,11 +80,11 @@ returns the number of bytes an ancillary element with payload of the
passed data length occupies.
This is a constant expression.
.PP
.B CMSG_DATA
.BR CMSG_DATA ()
returns a pointer to the data portion of a
.IR cmsghdr .
.PP
.B CMSG_LEN
.BR CMSG_LEN ()
returns the value to store in the
.I cmsg_len
member of the
@ -105,7 +105,7 @@ Use
on the
.I msghdr
to get the first control message and
.B CMSG_NEXTHDR
.BR CMSG_NEXTHDR ()
to get all subsequent ones.
In each control message, initialize
.I cmsg_len
@ -137,7 +137,7 @@ member of the
.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
.BR CMSG_ALIGN ()
is a Linux extension.
.SH NOTES
For portability, ancillary data should be accessed only using the macros
@ -146,8 +146,8 @@ described here.
is a Linux extension and should be not used in portable programs.
.PP
In Linux,
.BR CMSG_LEN ,
.BR CMSG_DATA ,
.BR CMSG_LEN (),
.BR CMSG_DATA (),
and
.BR CMSG_ALIGN ()
are constant expressions (assuming their argument is constant);