Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 1 Jul 2000 12:11:23 -0500
From:      "Jacques A. Vidrine" <n@nectar.com>
To:        Bruce Evans <bde@zeta.org.au>
Cc:        Alfred Perlstein <alfred@FreeBSD.org>, 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>
In-Reply-To: <Pine.BSF.4.21.0007020113300.11907-100000@besplex.bde.org>; from bde@zeta.org.au on Sun, Jul 02, 2000 at 01:15:55AM %2B1000
References:  <200007010655.XAA28655@freefall.freebsd.org> <Pine.BSF.4.21.0007020113300.11907-100000@besplex.bde.org>

next in thread | previous in thread | raw e-mail | index | archive | help
On Sun, Jul 02, 2000 at 01:15:55AM +1000, Bruce Evans wrote:
> This is very nonstd.  stdlib is for things in <stdlib.h>.

SUSv2 indicates these should be in <search.h>.

 NAME

    tdelete, tfind, tsearch, twalk - manage a binary search tree 

 SYNOPSIS



    #include <search.h>

    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




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20000701121123.B96751>