Date: Fri, 13 Mar 2020 10:04:55 +0000 (UTC) From: Mateusz Piotrowski <0mp@FreeBSD.org> To: src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-stable@freebsd.org, svn-src-stable-12@freebsd.org Subject: svn commit: r358952 - stable/12/share/man/man3 Message-ID: <202003131004.02DA4tPA080444@repo.freebsd.org>
next in thread | raw e-mail | index | archive | help
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
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?202003131004.02DA4tPA080444>