Page MenuHomeFreeBSD

man tree: add RB_AUGMENT description
ClosedPublic

Authored by dougm on Jun 19 2022, 2:40 AM.
Tags
None
Referenced Files
F107556296: D35518.diff
Wed, Jan 15, 9:02 PM
Unknown Object (File)
Oct 26 2024, 3:31 PM
Unknown Object (File)
Oct 26 2024, 3:31 PM
Unknown Object (File)
Oct 26 2024, 3:31 PM
Unknown Object (File)
Oct 26 2024, 3:31 PM
Unknown Object (File)
Oct 26 2024, 3:31 PM
Unknown Object (File)
Oct 26 2024, 3:31 PM
Unknown Object (File)
Oct 26 2024, 3:11 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.