Truely reentrant getpwent(3)?
Web Server forum
Back To The Forum Home!Search!Private Messaging System

Web Server Talk Web Server Talk > Unix and Linux reviews > Free Unix support > Unix Programming > Truely reentrant getpwent(3)?




  Last Thread   Next Thread Next
  Show Printable Version Email this Page Subscribe to this Thread      Post New Thread    Post A Reply      

    Truely reentrant getpwent(3)?  
Michael B Allen


View Ip Address Report This Message To A Moderator Edit/Delete Message


 
11-08-05 11:29 PM

Is there a truely reentrant method for enumerating unix
accounts? Obviously getpwent(3) is not reentrant and getpwent_r(3) on
my system is a) non-standard and b) not actually reentrant according
to the notes. Arg! This is very unfortunate if it can block which I
suspect it can depending on how nsswitch is configured. I can't just
parse /etc/password because again nsswitch may be involved. Is there a
lower level but standard method for reading accounts?

Thanks,
Mike






[ Post a follow-up to this message ]



    Sponsored Links  




 





   All times are GMT. The time now is 03:32 PM.      Post New Thread    Post A Reply      
  Last Thread   Next Thread Next


Most Popular forums 

Forum Jump:
Rate This Thread:

Forum Rules:
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts
HTML code is OFF
vB code is ON
Smilies are ON
[IMG] code is OFF
 
Medical and Health forum | Computer Games Reviews | Graphics design forum

Back To The Top
Home | Usercp | Faq | Register