Date: Fri, 16 Dec 2005 16:06:01 +0200 From: Vasil Dimov <vd@datamax.bg> To: FreeBSD-gnats-submit@FreeBSD.org Subject: docs/90498: wrong parameter name to function twalk in tseatch.3 Message-ID: <20051216140601.GA97584@qlovarnika.bg.datamax> Resent-Message-ID: <200512161410.jBGEA5Xn060042@freefall.freebsd.org>
next in thread | raw e-mail | index | archive | help
>Number: 90498 >Category: docs >Synopsis: wrong parameter name to function twalk in tseatch.3 >Confidential: no >Severity: non-critical >Priority: low >Responsible: freebsd-doc >State: open >Quarter: >Keywords: >Date-Required: >Class: doc-bug >Submitter-Id: current-users >Arrival-Date: Fri Dec 16 14:10:05 GMT 2005 >Closed-Date: >Last-Modified: >Originator: Vasil Dimov >Release: FreeBSD 6.0-STABLE amd64 >Organization: DataMax >Environment: >Description: In tsearch(3) the function passed as argument to twalk should be named `action', to `compar'. >How-To-Repeat: >Fix: --- tsearch.3_action.diff begins here --- --- lib/libc/stdlib/tsearch.3.orig Fri Dec 16 16:01:11 2005 +++ lib/libc/stdlib/tsearch.3 Fri Dec 16 16:01:30 2005 @@ -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 , --- tsearch.3_action.diff ends here --- >Release-Note: >Audit-Trail: >Unformatted:
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20051216140601.GA97584>