tech-userlevel archive

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

Re: strtonum(3) from OpenBSD?

On Wed, Jun 24, 2009 at 08:43:32PM -0400, Thor Lancelot Simon wrote:
> As I pointed out, the API for this function, *as specified by the manual
> page*, distinguishes error return cases by way of *specific strings
> given in the manual page* (which is why it is not localizable) which
> it does not distinguish by different errno values.

It's worse than that: there's a case backed by a documented errno in
the man page, but no corresponding error string.

Manuel Bouyer, LIP6, Universite Paris VI.  
     NetBSD: 26 ans d'experience feront toujours la difference

Home | Main Index | Thread Index | Old Index