Jerry Feldman
The prototype for abs() is in stdlib.h not in math.h. It is not a mach library function. The fabs() funciton prototype is in math.h. Again to reiterate a previous response, functions reside in the libraries. abs() resides in libc, fabs() resides in libm.
He wrote to me privately (that's what you get for not setting Reply-To) and he actually did need the prototype and discovered on his own that it resides in stdlib.h. Another case of somebody who didn't know how to do 'man abs' and it makes me wonder if ide's like kdevelop makes it too easy for people to program (sort of point-and-klick programming :). Don't get me wrong: I do think they can be helpful for those that know what happens underneath. But for those that don't ..... Philipp -- Philipp Thomas work: pthomas@suse.de Development, SuSE Linux AG private: philipp.thomas@t-link.de