Date: Mon, 14 Oct 2019 05:26:43 +0000 (UTC) From: Lawrence Stewart <lstewart@FreeBSD.org> To: src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org Subject: svn commit: r353486 - head/share/man/man3 Message-ID: <201910140526.x9E5QhMu041344@repo.freebsd.org>
next in thread | raw e-mail | index | archive | help
Author: lstewart Date: Mon Oct 14 05:26:42 2019 New Revision: 353486 URL: https://svnweb.freebsd.org/changeset/base/353486 Log: Fix some "RB_" -> "ARB_" copy and paste nits for text sourced from tree(3). Modified: head/share/man/man3/arb.3 Modified: head/share/man/man3/arb.3 ============================================================================== --- head/share/man/man3/arb.3 Mon Oct 14 04:17:56 2019 (r353485) +++ head/share/man/man3/arb.3 Mon Oct 14 05:26:42 2019 (r353486) @@ -30,7 +30,7 @@ .\" .\" $FreeBSD$ .\" -.Dd October 2, 2019 +.Dd October 14, 2019 .Dt ARB 3 .Os .Sh NAME @@ -399,7 +399,7 @@ macros can be used to find a particular element in the .Bd -literal -offset indent struct TYPE find, *res; find.key = 30; -res = RB_FIND(NAME, head, &find); +res = ARB_FIND(NAME, head, &find); .Ed .Pp The @@ -411,7 +411,7 @@ and .Fn ARB_PREV macros can be used to traverse the tree: .Pp -.Dl "for (np = RB_MIN(NAME, &head); np != NULL; np = RB_NEXT(NAME, &head, np))" +.Dl "for (np = ARB_MIN(NAME, &head); np != NULL; np = ARB_NEXT(NAME, &head, np))" .Pp Or, for simplicity, one can use the .Fn ARB_FOREACH @@ -419,7 +419,7 @@ or .Fn ARB_FOREACH_REVERSE macro: .Bd -ragged -offset indent -.Fn RB_FOREACH np NAME head +.Fn ARB_FOREACH np NAME head .Ed .Pp The macros
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201910140526.x9E5QhMu041344>