13 #include <sys/cdefs.h>
15 #if !defined(__BEGIN_DECLS) || !defined(__END_DECLS)
16 #if defined(__cplusplus)
17 #define __BEGIN_DECLS extern "C" {
18 #define __END_DECLS };
24 #include <sys/types.h>
33 #ifdef _SEARCH_PRIVATE
36 struct node *llink, *rlink;
41 void *
tdelete(
const void * __restrict,
void ** __restrict,
42 int (*)(
const void *,
const void *));
43 void *
tfind(
const void *,
void *
const *,
44 int (*)(
const void *,
const void *));
45 void *
tsearch(
const void *,
void **,
int (*)(
const void *,
const void *));
46 void twalk(
const void *,
void (*)(
const void *,
VISIT,
int));
47 void tdestroy(
void *,
void (*)(
void *));
__BEGIN_DECLS void * tdelete(const void *__restrict, void **__restrict, int(*)(const void *, const void *))
void tdestroy(void *, void(*)(void *))
void * tfind(const void *, void *const *, int(*)(const void *, const void *))
void * tsearch(const void *, void **, int(*)(const void *, const void *))
void twalk(const void *, void(*)(const void *, VISIT, int))