diff options
| author | Aymeric Wibo <obiwac@FreeBSD.org> | 2026-11-17 16:19:10 +0000 |
|---|---|---|
| committer | Aymeric Wibo <obiwac@FreeBSD.org> | 2026-11-18 13:14:39 +0000 |
| commit | 5ddfe1e2e9ee23fc131080147039cf101d9203a6 (patch) | |
| tree | 358365edf50d33951c296b439bd49e05bd8512a7 /sys/dev/asmc/asmc_debug.c | |
| parent | 09bd51a1e06ef49bc423d32b0dec27848c7f4b6d (diff) | |
Pull in clarifications from Apple's libc: describe the comparison
function's arguments as key pointers, refer to the nodes returned by
tfind() and tsearch() rather than to the "datum", explain how to get a
node's key, note that the action function is called only once for leaf
nodes, and note about how VISIT names don't map to the usual traversal
order nomenclature.
The paragraph about the first member of a node being a pointer to its
key was rewritten, as Apple's wording was not strictly accurate.
Apple's Libc also has a paragraph describing what each traversal order
does, but it is mostly redundant, so it is not included here.
While here, mark up NULL and the VISIT values with .Dv, move the VISIT
typedef into a literal block, and fix mandoc lint warnings.
MFC after: 3 days
Reviewed by: ziaee
Obtained from: https://github.com/apple-oss-distributions/libc (partially)
Sponsored by: Klara, Inc.
Differential Revision: https://reviews.freebsd.org/D61677
Diffstat (limited to 'sys/dev/asmc/asmc_debug.c')
0 files changed, 0 insertions, 0 deletions
