new code on the server rc.40

Christoph Badura bad at bsd.de
Wed Feb 28 13:43:08 EST 2007


On Wed, Feb 28, 2007 at 09:33:55AM -0800, Peter Van Epp wrote:
> 	On the Open/NetBSD front (neither of which apparantly have strtof)
> I couldn't figure out where the code for strtof is in the FreeBSD library
> sources, but we should be able to fake strtof using sscanf (which is supported
> in both) I expect. 

Ugh, coudn't you just use strtod and let the normal type conversion
through the assignment to a float handle the conversion?  That would be
vastly preferable to using something from the scanf family IMHO.

--chris



More information about the argus mailing list