Re: strtonum(3) in FreeBSD?

From: Thorsten Glaser <tg_at_66h.42h.de>
Date: Tue, 12 Apr 2005 20:08:19 +0000 (UTC)
Dixitur:

>Based on the man page, I see the following deficiencies:
>1) No support for bases other than 10

Not having base 16 (sedecimal) support really is why I am
still using strtol(l) in my code...

>2) No provision to return the end of the converted string
>3) No simple way to distinguish errors from a valid zero.

The OpenBSD people said (when I proposed to change #1) that
they want an uncomplicated interface, and I think #3 is not
necessary, and I can live without #2.

Just my 0.02 EUR

//mirabile
Received on Tue Apr 12 2005 - 18:08:26 UTC

This archive was generated by hypermail 2.4.0 : Wed May 19 2021 - 11:38:32 UTC