Bug 158387 - The tree(3) man should mention the RB_FOREACH_SAFE() API...
Summary: The tree(3) man should mention the RB_FOREACH_SAFE() API...
Status: Closed FIXED
Alias: None
Product: Documentation
Classification: Unclassified
Component: Manual Pages (show other bugs)
Version: Latest
Hardware: Any Any
: Normal Affects Only Me
Assignee: freebsd-bugs (Nobody)
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2011-06-28 12:40 UTC by Greg Becker
Modified: 2019-02-25 09:31 UTC (History)
2 users (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Greg Becker 2011-06-28 12:40:05 UTC
The tree(2) man page mentions neither the RB_FOREACH_SAFE() nor the RB_FOREACH_REVERSE_SAFE(), yet they are clearly included in /usr/include/sys/tree.h.  Not a problem for anyone familiar with the API, but useful to those reading man pages to understand the scope its scope and capabilities.  Also, good for completeness :-)
Comment 1 Eitan Adler freebsd_committer freebsd_triage 2017-12-31 07:59:34 UTC
For bugs matching the following criteria:

Status: In Progress Changed: (is less than) 2014-06-01

Reset to default assignee and clear in-progress tags.

Mail being skipped
Comment 2 Greg Becker 2019-02-24 20:55:03 UTC
Looks like the tree(3) man page now documents the the "safe" APIs (in FreeBSD 11.2) so this ticket can be closed.
Comment 3 Sergey Kandaurov freebsd_committer freebsd_triage 2019-02-25 09:31:10 UTC
For the record, it was documented in r257643 with merge to stable/10@261015 (before 10.1).
Thanks for the report.