This is the mail archive of the newlib@sourceware.org mailing list for the newlib project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: No bsearch and qsort?


Oops, didn't notice that they were in search instead of stdlib, which is the first place I looked. -- Gregory

DJ Delorie wrote:
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.



Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]