1 #include <msvcrt/search.h>
2 #include <msvcrt/stdlib.h>
3 #include <msvcrt/string.h>
8 void *_lsearch(const void *key, void *base, size_t *nelp, size_t width,
9 int (*compar)(const void *, const void *))
11 void *ret_find = _lfind(key,base,nelp,width,compar);
17 memcpy(base + (*nelp*width), key, width);
19 memcpy((int*)base + (*nelp*width), key, width);