From owner-svn-src-all@freebsd.org Fri Mar 13 10:04:55 2020 Return-Path: Delivered-To: svn-src-all@mailman.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.nyi.freebsd.org (Postfix) with ESMTP id 5A8C425A236; Fri, 13 Mar 2020 10:04:55 +0000 (UTC) (envelope-from 0mp@FreeBSD.org) Received: from mxrelay.nyi.freebsd.org (mxrelay.nyi.freebsd.org [IPv6:2610:1c1:1:606c::19:3]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) server-signature RSA-PSS (4096 bits) client-signature RSA-PSS (4096 bits) client-digest SHA256) (Client CN "mxrelay.nyi.freebsd.org", Issuer "Let's Encrypt Authority X3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 48f1X71p1dz42GP; Fri, 13 Mar 2020 10:04:55 +0000 (UTC) (envelope-from 0mp@FreeBSD.org) Received: from repo.freebsd.org (repo.freebsd.org [IPv6:2610:1c1:1:6068::e6a:0]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mxrelay.nyi.freebsd.org (Postfix) with ESMTPS id 3905F476B; Fri, 13 Mar 2020 10:04:55 +0000 (UTC) (envelope-from 0mp@FreeBSD.org) Received: from repo.freebsd.org ([127.0.1.37]) by repo.freebsd.org (8.15.2/8.15.2) with ESMTP id 02DA4tY7080445; Fri, 13 Mar 2020 10:04:55 GMT (envelope-from 0mp@FreeBSD.org) Received: (from 0mp@localhost) by repo.freebsd.org (8.15.2/8.15.2/Submit) id 02DA4tPA080444; Fri, 13 Mar 2020 10:04:55 GMT (envelope-from 0mp@FreeBSD.org) Message-Id: <202003131004.02DA4tPA080444@repo.freebsd.org> X-Authentication-Warning: repo.freebsd.org: 0mp set sender to 0mp@FreeBSD.org using -f From: Mateusz Piotrowski <0mp@FreeBSD.org> Date: Fri, 13 Mar 2020 10:04:55 +0000 (UTC) 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 X-SVN-Group: stable-12 X-SVN-Commit-Author: 0mp X-SVN-Commit-Paths: stable/12/share/man/man3 X-SVN-Commit-Revision: 358952 X-SVN-Commit-Repository: base MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-BeenThere: svn-src-all@freebsd.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: "SVN commit messages for the entire src tree \(except for " user" and " projects" \)" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 13 Mar 2020 10:04:55 -0000 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