twalk() expects an `action' function not a comparison function.
The text is correct in the "DESCRIPTION" section, so fix "SYNOPSIS" to use the correct name. PR: docs/90498 Submitted by: Vasil Dimov MFC after: 3 days
This commit is contained in:
parent
25b5a928f7
commit
1d3a1c8bce
@ -42,7 +42,7 @@
|
||||
.Ft void *
|
||||
.Fn tsearch "const void *key" "void **rootp" "int (*compar) (const void *, const void *)"
|
||||
.Ft void
|
||||
.Fn twalk "const void *root" "void (*compar) (const void *, VISIT, int)"
|
||||
.Fn twalk "const void *root" "void (*action) (const void *, VISIT, int)"
|
||||
.Sh DESCRIPTION
|
||||
The
|
||||
.Fn tdelete ,
|
||||
|
Loading…
Reference in New Issue
Block a user