Page MenuHomeFreeBSD

man tree: add RB_AUGMENT description
ClosedPublic

Authored by dougm on Jun 19 2022, 2:40 AM.
Tags
None
Referenced Files
Unknown Object (File)
Wed, Apr 17, 5:20 AM
Unknown Object (File)
Wed, Apr 17, 5:20 AM
Unknown Object (File)
Wed, Apr 17, 5:20 AM
Unknown Object (File)
Mar 25 2024, 4:21 PM
Unknown Object (File)
Feb 13 2024, 9:24 AM
Unknown Object (File)
Dec 25 2023, 11:35 PM
Unknown Object (File)
Dec 22 2023, 11:44 PM
Unknown Object (File)
Dec 20 2023, 11:13 PM
Subscribers

Details

Summary

The RB_AUGMENT macro is not documented. Perhaps that is why it is rarely used. Attempt to document it.

Diff Detail

Repository
rG FreeBSD src repository
Lint
Lint Not Applicable
Unit
Tests Not Applicable

Event Timeline

dougm requested review of this revision.Jun 19 2022, 2:40 AM
dougm created this revision.
share/man/man3/tree.3
594

I think that you should explicitly say that it is defined by the RB user.

Add augmentation to the RB tree example.

You also should add a symlink to RB_AUGMENT.3 into share/man/man3/Makefile. Search for tree.3 there to see how it is done.

This revision is now accepted and ready to land.Jun 19 2022, 9:26 AM
This revision was automatically updated to reflect the committed changes.