tech-userlevel archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

Re: strtonum(3) from OpenBSD?



>> GNU libc sets ERANGE if the [scanf] conversion overflows, I see no
>> reason why we could not do similar.
> Because then our code isn't portable?

That's a reason to not _use_ that feature.  It's not a reason to not
_provide_ it.  (Well, indirectly, perhaps, in that providing a feature
can be seen as encouraging its use.)

/~\ The ASCII                             Mouse
\ / Ribbon Campaign
 X  Against HTML                mouse%rodents-montreal.org@localhost
/ \ Email!           7D C8 61 52 5D E7 2D 39  4E F1 31 3E E8 B3 27 4B


Home | Main Index | Thread Index | Old Index