No bsearch and qsort?

DJ Delorie dj@redhat.com
Sat Feb 14 00:55:00 GMT 2009


> I noticed that there wasn't a bsearch or a qsort in stdlib.

Maybe I'm missing something, but...

src/newlib/libc/include/stdlib.h:
_VOID _EXFUN(qsort,(_PTR __base, size_t __nmemb, size_t __size, int(*_compar)(const _PTR, const _PTR))); 
_PTR _EXFUN(bsearch,(const _PTR __key, 

src/newlib/libc/search/qsort.c
src/newlib/libc/search/bsearch.c

They look there to me.



More information about the Newlib mailing list