From owner-cvs-all Sat Jul 1 10:11:28 2000 Delivered-To: cvs-all@freebsd.org Received: from gw.nectar.com (gw.nectar.com [209.98.143.44]) by hub.freebsd.org (Postfix) with ESMTP id 4BF7737B60E; Sat, 1 Jul 2000 10:11:24 -0700 (PDT) (envelope-from nectar@nectar.com) Received: from bone.nectar.com (bone.nectar.com [10.0.1.105]) by gw.nectar.com (Postfix) with ESMTP id 955D69B2A; Sat, 1 Jul 2000 12:11:23 -0500 (CDT) Received: by bone.nectar.com (Postfix, from userid 1001) id 7E3871DCB; Sat, 1 Jul 2000 12:11:23 -0500 (CDT) Date: Sat, 1 Jul 2000 12:11:23 -0500 From: "Jacques A. Vidrine" To: Bruce Evans Cc: Alfred Perlstein , cvs-committers@FreeBSD.org, cvs-all@FreeBSD.org Subject: Re: cvs commit: src/include search.h Makefile src/lib/libc/stdlib tdelete.c tfind.c tsearch.3 tsearch.c twalk.c Makefile.inc Message-ID: <20000701121123.B96751@bone.nectar.com> Mail-Followup-To: "Jacques A. Vidrine" , Bruce Evans , Alfred Perlstein , cvs-committers@FreeBSD.org, cvs-all@FreeBSD.org References: <200007010655.XAA28655@freefall.freebsd.org> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.2i In-Reply-To: ; from bde@zeta.org.au on Sun, Jul 02, 2000 at 01:15:55AM +1000 X-Url: http://www.nectar.com/ Sender: owner-cvs-all@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG On Sun, Jul 02, 2000 at 01:15:55AM +1000, Bruce Evans wrote: > This is very nonstd. stdlib is for things in . SUSv2 indicates these should be in . NAME tdelete, tfind, tsearch, twalk - manage a binary search tree SYNOPSIS #include void *tsearch(const void *key, void **rootp, int (*compar)(const void *, const void *)); void *tfind(const void *key, void *const *rootp, int(*compar)(const void *, const void *)); void *tdelete(const void *key, void **rootp, int(*compar)(const void *, const void *)); void twalk(const void *root, void (*action)(const void *, VISIT, int)); -- Jacques Vidrine / n@nectar.com / nectar@FreeBSD.org To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe cvs-all" in the body of the message