svn commit: r358952 - stable/12/share/man/man3
Mateusz Piotrowski
0mp at FreeBSD.org
Fri Mar 13 10:04:55 UTC 2020
Author: 0mp (doc,ports committer)
Date: Fri Mar 13 10:04:54 2020
New Revision: 358952
URL: https://svnweb.freebsd.org/changeset/base/358952
Log:
MFC 340001:
Approved by: bcr (mentor)
Differential Revision: https://reviews.freebsd.org/D24055
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)
Differential Revision: https://reviews.freebsd.org/D17804
Modified:
stable/12/share/man/man3/CMSG_DATA.3
Directory Properties:
stable/12/ (props changed)
Modified: stable/12/share/man/man3/CMSG_DATA.3
==============================================================================
--- stable/12/share/man/man3/CMSG_DATA.3 Fri Mar 13 09:41:54 2020 (r358951)
+++ stable/12/share/man/man3/CMSG_DATA.3 Fri Mar 13 10:04:54 2020 (r358952)
@@ -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
.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
More information about the svn-src-stable-12
mailing list