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
|
||||
.\"
|
||||
.\" $FreeBSD$
|
||||
.Dd August 19, 2018
|
||||
.Dd November 1, 2018
|
||||
.Dt CMSG_DATA 3
|
||||
.Os
|
||||
.Sh NAME
|
||||
@ -50,10 +50,10 @@ This routine accesses the data portion of the control message header
|
||||
.Fa cmsg .
|
||||
It ensures proper alignment constraints on the beginning of ancillary
|
||||
data are met.
|
||||
.It Fn CMSG_FIRSTHDR mhdr
|
||||
.It Fn CMSG_FIRSTHDR msghdr
|
||||
This routine accesses the first control message attached to the
|
||||
message
|
||||
.Fa msg .
|
||||
.Fa msghdr .
|
||||
If no control messages are attached to the message, this routine
|
||||
returns
|
||||
.Dv NULL .
|
||||
@ -67,11 +67,11 @@ This value is what is normally stored in the
|
||||
of each control message.
|
||||
This routine accounts for any alignment constraints on the beginning of
|
||||
ancillary data.
|
||||
.It Fn CMSG_NXTHDR mhdr cmsg
|
||||
.It Fn CMSG_NXTHDR msghdr cmsg
|
||||
This routine returns the location of the control message following
|
||||
.Fa cmsg
|
||||
in the message
|
||||
.Fa mhdr .
|
||||
.Fa msghdr .
|
||||
If
|
||||
.Fa cmsg
|
||||
is the last control message in the chain, this routine returns
|
||||
|
Loading…
Reference in New Issue
Block a user