View Single Post

   
  #9 (permalink)  
Old 01-16-2008, 07:15 PM
Chuck Dillon
 
Posts: n/a
Default Re: getpwnam problem

ultra wrote:
> Hi there,
> I have a program that call getpwnam to get the user info, but sometimes
> the call returned NULL with errno EINVAL. I always pass the same user to the
> call. Anyone know what is the reason? I'm running HP11.00 and NIS.
>
>


Is the program threaded? Try getpwnam_r?

-- ced

--
Chuck Dillon
Senior Software Engineer
NimbleGen Systems Inc.
Reply With Quote