Re: getpwnam problem ya.. I didn't errno=0 before the call at the begining. Once I set errno=0
before the call, it is still errno=0 after the call fail...
"Dragan Cvetkovic" <me@privacy.net> wrote in message
news:lmu0w1qjtq.fsf@privacy.net...
> "ultra" <ultraman@rogers_NOSPAM.com> writes:
>
> >> what is the errno when it fails?
> >
> > it didn't set the errno when it failed...
> >
> >
>
> Huh? What do you mean it didn't set the errno? Here is your original
> message:
>
> > I have a program that call getpwnam to get the user info, but sometimes
> > the call returned NULL with errno EINVAL.
>
>
>
>
> --
> Dragan Cvetkovic,
>
> To be or not to be is true. G. Boole No it isn't. L. E. J. Brouwer
>
> !!! Sender/From address is bogus. Use reply-to one !!! |