tech-userlevel archive

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

Re: strtonum(3) from OpenBSD?



At Thu, 2 Jul 2009 20:24:31 +0000 (UTC), christos%astron.com@localhost 
(Christos Zoulas) wrote:
Subject: Re: strtonum(3) from OpenBSD?
> 
> In article <m1MMP2d-000kn6C%most.weird.com@localhost>,
> Greg A. Woods <tech-userlevel%NetBSD.org@localhost> wrote:
> 
> >For example NetBSD's strtol() may violate the standard by returning with
> >errno set to the undocumented value of EINVAL.
> 
> It is documented... And I documented this recently (and fixed a bug -- that
> in the EINVAL case ep was not set) on head a while ago.
> 
> http://www.opengroup.org/onlinepubs/000095399/functions/strtol.html

That'll teach me to rely on Harbison & Steele exclusively!  :-)

Thanks!

-- 
                                                Greg A. Woods
                                                Planix, Inc.

<woods%planix.com@localhost>       +1 416 218-0099        http://www.planix.com/

Attachment: pgpSHpv0qOT4l.pgp
Description: PGP signature



Home | Main Index | Thread Index | Old Index