[comp.lang.c] bsearch routine in c

jsl@bii.UUCP (jsl) (06/28/90)

I need an equivalent of the bsearch routine included in the 3(c)
libraries for most unix workstations that will run on a PC or
Macintosh.  Does anyone out in netland have a c source for this
routine?  If you do could you please mail it to me.  I hate to
reinvent the wheel. :-)

==================================================================
Joe Laughlin                           human:       (508) 667-9739
Senior NMR Software Specialist         machine: jsl@bii.bruker.com

Note: Due to a shortage of robots, some of our workers are human
and may react unpredictably when abused.
==================================================================

brians@hpcljms.HP.COM (Brian Sullivan) (06/30/90)

  You can find both a C implementation and a hand-coded 68000 assembly
implementation of the bsearch(3C) subroutine in the Addison-Wesley book:

   "68030 Assembly Language Reference"

 see pages 648-652.


   If you are working with the Mac and AU/X I would suggest that you obtain
this book, beacuse it address several Mac implementation issues.