summaryrefslogtreecommitdiffstats
path: root/include/search.h
Commit message (Collapse)AuthorAgeFilesLines
* - Remove the lsearch() and lfind() functions and their manpage fromrobert2002-10-161-0/+4
| | | | | | | | | the compatibility library libcompat. - Add new implementations of lsearch() and lfind() which conform to IEEE Std 1003.1-2001 to libc. Add a new manual page for them and add them to the makefile. - Add function prototypes for lsearch() and lfind() to the search.h header.
* - Remove the old insque() and remque() functions and their manualrobert2002-10-161-3/+7
| | | | | | | | | page from the compatibility library. - Add new implementations of insque() and remque() which conform to IEEE Std 1003.1-2001 to libc. Add a new manual page for them and connect them to the build. - Add the prototypes of insque() and remque() to the search.h header.
* Fix various style(9) bugs:mike2002-10-031-12/+16
| | | | | | | | | | o Source ID's in wrong location. o Space used, instead of tab, after typedef. o Unaligned function prototype for twalk(). Other changes: o Add missing const qualifier in tfind(). o Add comment about missing functions.
* Style: One space between "restrict" qualifier and "*".tjr2002-09-061-1/+1
|
* o Merge <machine/ansi.h> and <machine/types.h> into a new headermike2002-08-211-4/+4
| | | | | | | | | | | | | | | | | | | | | called <machine/_types.h>. o <machine/ansi.h> will continue to live so it can define MD clock macros, which are only MD because of gratuitous differences between architectures. o Change all headers to make use of this. This mainly involves changing: #ifdef _BSD_FOO_T_ typedef _BSD_FOO_T_ foo_t; #undef _BSD_FOO_T_ #endif to: #ifndef _FOO_T_DECLARED typedef __foo_t foo_t; #define _FOO_T_DECLARED #endif Concept by: bde Reviewed by: jake, obrien
* - Add the 'restrict' qualifier to match the IEEE Std 1003.1-2001robert2002-08-141-1/+2
| | | | | | | prototype of the tdelete(3) function. - Remove duplicated space. - Use an ANSI-C function definition for tdelete(3). - Update the manual page.
* Breath deep and take __P out of the system include files.imp2002-03-231-10/+7
| | | | | | # This appears to not break X11, but I'm having problems compiling the # glide part of the server with or without this patch, so I can't tell # for sure.
* fix spelling errors.alfred2000-07-071-13/+0
| | | | Pointed out by: bde
* cleanup the tsearch import.alfred2000-07-061-1/+4
| | | | | | | | | | | | remove (comment out) functions defined or depricated elsewhere: bsearch, lfind, lsearch, insque, remque change hcreate to take a size_t rather than uint (essentially the same) since hcreate/hdestroy are now in <search.h>, remove private search.h in lib/libc/db/hash/ add $FreeBSD tags to hsearch.c
* bring in binary search tree code.alfred2000-07-011-0/+66
Obtained from: NetBSD
OpenPOWER on IntegriCloud