CMSG_DATA(3): Use consistent variable names
The description of CMSG_FIRSTHDR used two variables (mhdr and msg) to reference the same thing. Use msghdr consistency across the manual page instead. Reviewed by: bcr Approved by: krion (mentor, implicit), mat (mentor, implicit) MFC after: 1 week Differential Revision: https://reviews.freebsd.org/D17804
This commit is contained in:
parent
3d40cdf014
commit
e8df8a1da0
@ -2,7 +2,7 @@
|
|||||||
.\" Public domain, July 3, 2005
|
.\" Public domain, July 3, 2005
|
||||||
.\"
|
.\"
|
||||||
.\" $FreeBSD$
|
.\" $FreeBSD$
|
||||||
.Dd August 19, 2018
|
.Dd November 1, 2018
|
||||||
.Dt CMSG_DATA 3
|
.Dt CMSG_DATA 3
|
||||||
.Os
|
.Os
|
||||||
.Sh NAME
|
.Sh NAME
|
||||||
@ -50,10 +50,10 @@ This routine accesses the data portion of the control message header
|
|||||||
.Fa cmsg .
|
.Fa cmsg .
|
||||||
It ensures proper alignment constraints on the beginning of ancillary
|
It ensures proper alignment constraints on the beginning of ancillary
|
||||||
data are met.
|
data are met.
|
||||||
.It Fn CMSG_FIRSTHDR mhdr
|
.It Fn CMSG_FIRSTHDR msghdr
|
||||||
This routine accesses the first control message attached to the
|
This routine accesses the first control message attached to the
|
||||||
message
|
message
|
||||||
.Fa msg .
|
.Fa msghdr .
|
||||||
If no control messages are attached to the message, this routine
|
If no control messages are attached to the message, this routine
|
||||||
returns
|
returns
|
||||||
.Dv NULL .
|
.Dv NULL .
|
||||||
@ -67,11 +67,11 @@ This value is what is normally stored in the
|
|||||||
of each control message.
|
of each control message.
|
||||||
This routine accounts for any alignment constraints on the beginning of
|
This routine accounts for any alignment constraints on the beginning of
|
||||||
ancillary data.
|
ancillary data.
|
||||||
.It Fn CMSG_NXTHDR mhdr cmsg
|
.It Fn CMSG_NXTHDR msghdr cmsg
|
||||||
This routine returns the location of the control message following
|
This routine returns the location of the control message following
|
||||||
.Fa cmsg
|
.Fa cmsg
|
||||||
in the message
|
in the message
|
||||||
.Fa mhdr .
|
.Fa msghdr .
|
||||||
If
|
If
|
||||||
.Fa cmsg
|
.Fa cmsg
|
||||||
is the last control message in the chain, this routine returns
|
is the last control message in the chain, this routine returns
|
||||||
|
Loading…
x
Reference in New Issue
Block a user