diff options
author | Lawrence Stewart <lstewart@FreeBSD.org> | 2019-10-14 05:26:42 +0000 |
---|---|---|
committer | Lawrence Stewart <lstewart@FreeBSD.org> | 2019-10-14 05:26:42 +0000 |
commit | aa506fd7063165e34a19efb1b4448701deb03a29 (patch) | |
tree | 61880eb90bff6388b4159e769b8562992ccd19c2 /share/man/man3 | |
parent | f6eccf96a0ffa94ead8565145a4a845c79d74f7b (diff) | |
download | src-aa506fd7063165e34a19efb1b4448701deb03a29.tar.gz src-aa506fd7063165e34a19efb1b4448701deb03a29.zip |
Fix some "RB_" -> "ARB_" copy and paste nits for text sourced from tree(3).
Notes
Notes:
svn path=/head/; revision=353486
Diffstat (limited to 'share/man/man3')
-rw-r--r-- | share/man/man3/arb.3 | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/share/man/man3/arb.3 b/share/man/man3/arb.3 index 4f144e9f80d9..1afc7cdc0baa 100644 --- a/share/man/man3/arb.3 +++ b/share/man/man3/arb.3 @@ -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 tree. .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 |