S/390: Fix uc_link == NULL handling for makecontext
[platform/upstream/glibc.git] / include / search.h
1 #ifndef _SEARCH_H
2 #include <misc/search.h>
3
4 #ifndef _ISOMAC
5 libc_hidden_proto (hcreate_r)
6 libc_hidden_proto (hdestroy_r)
7 libc_hidden_proto (hsearch_r)
8 libc_hidden_proto (lfind)
9
10 /* Now define the internal interfaces.  */
11 extern void __hdestroy (void);
12 extern void *__tsearch (const void *__key, void **__rootp,
13                         __compar_fn_t compar);
14 extern void *__tfind (const void *__key, void *const *__rootp,
15                       __compar_fn_t compar);
16 extern void *__tdelete (const void *__key, void **__rootp,
17                         __compar_fn_t compar);
18 extern void __twalk (const void *__root, __action_fn_t action);
19 extern void __tdestroy (void *__root, __free_fn_t freefct);
20 #endif
21 #endif