summaryrefslogtreecommitdiffstats
path: root/lib
diff options
context:
space:
mode:
authorkeramida <keramida@FreeBSD.org>2006-06-23 13:36:33 +0000
committerkeramida <keramida@FreeBSD.org>2006-06-23 13:36:33 +0000
commitbc2961a729a4554931d290feb2f6bd68b0bfc918 (patch)
treee1f9b7c8af17edf252ea60c2477c9c9b57c4ab58 /lib
parentb33fcf884064a27e6a0a9d8b7caa2d4b920de35e (diff)
downloadFreeBSD-src-bc2961a729a4554931d290feb2f6bd68b0bfc918.zip
FreeBSD-src-bc2961a729a4554931d290feb2f6bd68b0bfc918.tar.gz
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
Diffstat (limited to 'lib')
-rw-r--r--lib/libc/stdlib/tsearch.32
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/libc/stdlib/tsearch.3 b/lib/libc/stdlib/tsearch.3
index c0af27f..7a204d0 100644
--- a/lib/libc/stdlib/tsearch.3
+++ b/lib/libc/stdlib/tsearch.3
@@ -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 ,
OpenPOWER on IntegriCloud