On 12/7/2011 6:38 AM, Teodor MICU wrote: > Hi, > > I would like to see how bsearch() function is implemented in GNU C > library. I see that it is declared in <stdlib.h> but I couldn't find > the corresponding "stdlib.c" file anywhere in the Debian archive (i.e. > with "apt-file search stdlib.c"). > > I've also downloaded the 'eglibc' source package but I don't see any > "stdlib.c" file. Can you tell me where the file is? > > Thanks > > > PS: I didn't considered that the implementation of the C standard > library functions are not actually available somewhere in Debian > archive. > >
The bsearch implementation is located in the glibc or eglibc source in the file stdlib/bsearch.c. Cheers, Carlos. -- To UNSUBSCRIBE, email to debian-glibc-requ...@lists.debian.org with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org Archive: http://lists.debian.org/4ee0eded.1010...@systemhalted.org