Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 18 Nov 1999 03:30:02 -0800 (PST)
From:      Tony Finch <dot@dotat.at>
To:        freebsd-bugs@FreeBSD.org
Subject:   Re: bin/14954: search.h is missing 
Message-ID:  <199911181130.DAA21264@freefall.freebsd.org>

next in thread | raw e-mail | index | archive | help
The following reply was made to PR bin/14954; it has been noted by GNATS.

From: Tony Finch <dot@dotat.at>
To: Sheldon Hearn <sheldonh@uunet.co.za>
Cc: FreeBSD-gnats-submit@FreeBSD.ORG
Subject: Re: bin/14954: search.h is missing 
Date: Thu, 18 Nov 1999 11:26:19 +0000

 Sheldon Hearn <sheldonh@uunet.co.za> wrote:
 > On Wed, 17 Nov 1999 19:59:29 GMT, Tony Finch wrote:
 > 
 > > FreeBSD is missing the <search.h> header from SVID, but it is present
 > > in NetBSD and OpenBSD. They also have implementations of the tsearch
 > > etc. routines originally obtained from public domain sources by ESR.
 > > There is an hsearch compatible interface to Berkeley DB which is
 > > already in FreeBSD's libc.
 > 
 > So is it a simple case of importing the header file, or are there
 > interfaces missing in the API?
 
 You also need the tsearch.[c3] and tfind.c files from
 src/lib/libc/stdlib in {Net,Open}BSD.
 
 There might be a better alternative to using Berkeley DB for the
 hsearch functions, but I couldn't find any other suitable existing
 code out there.
 
 Tony.
 -- 
 I'm the dot in dot at
 


To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-bugs" in the body of the message




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