From 98e716a4fe3c11b8fa3a358acb490ca6d58d7ff6 Mon Sep 17 00:00:00 2001 From: robert Date: Wed, 16 Oct 2002 14:29:23 +0000 Subject: - Remove the lsearch() and lfind() functions and their manpage from 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. --- include/search.h | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'include') diff --git a/include/search.h b/include/search.h index 566aac8..4e4606f 100644 --- a/include/search.h +++ b/include/search.h @@ -50,6 +50,10 @@ int hcreate(size_t); void hdestroy(void); ENTRY *hsearch(ENTRY, ACTION); void insque(void *, void *); +void *lfind(const void *, const void *, size_t *, size_t, + int (*)(const void *, const void *)); +void *lsearch(const void *, void *, size_t *, size_t, + int (*)(const void *, const void *)); void remque(void *); void *tdelete(const void * __restrict, void ** __restrict, int (*)(const void *, const void *)); -- cgit v1.1