This is the mail archive of the cygwin mailing list for the Cygwin project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

RE: struct passwd problem : running on XP


On 15 January 2007 17:12, DEMARCHE wrote:

> It seems like the /etc/passwd file struct is not compliant with the C struct
> password ( as defined in pwd.h ).

> May be I'm wrong, but the number of items doesn't correspond to each other.
> 
> May be I'm worng but I think that the gcc compiler is not able to parse each
> items.
> I thank you for all details and explanations.

  I think if you call the appropriate library function (getpwent IIRC?) it'll
take care of the conversion for you.

  Otherwise, http://cygwin.com/acronyms#PPAST!


    cheers,
      DaveK
-- 
Can't think of a witty .sigline today....


--
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple
Problem reports:       http://cygwin.com/problems.html
Documentation:         http://cygwin.com/docs.html
FAQ:                   http://cygwin.com/faq/


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]