[uClibc] inet_aton
Clement MOREAU
clement.moreau at inventel.fr
Wed Aug 6 10:52:09 MDT 2003
Hello,
Le lun 04/08/2003 à 21:03, Erik Andersen a écrit :
> On Mon Aug 04, 2003 at 05:40:39PM +0200, Clement MOREAU wrote:
> > Hi,
> >
> > I am using uclibc 0.9.19, and i wonder why inet_aton has a different
> > behaviour from the glibc version :
> >
> > int inet_aton(cp, inp)
> >
> > if inp is NULL, the uClibc version returns at the immediately with
> > status 0, whereas the glibc version check if cp is a valid address, and
> > returns status code non zero if it is a valid address.
>
> uClibc uses different code than glibc in many places, which
> sometimes results in different behavior.
>
> This function, sadly, is not defined byt the Single UNIX spec,
> which is what we follow..
Thank you for your explanation. Then I will look into these specs to
write really portable software. I found these in html on
unix-systems.org, i think there are not available in pdf to non-member,
are they ?
Regards,
--
Clement MOREAU <clement.moreau at inventel.fr>
Inventel
More information about the uClibc
mailing list