No bsearch and qsort?

Gregory Pietsch gpietsch@comcast.net
Sat Feb 14 09:13:00 GMT 2009


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.
>
>   



More information about the Newlib mailing list