This is the mail archive of the
cygwin
mailing list for the Cygwin project.
RE: struct passwd problem : running on XP
- From: "Dave Korn" <dave dot korn at artimi dot com>
- To: <cygwin at cygwin dot com>
- Date: Mon, 15 Jan 2007 18:00:47 -0000
- Subject: 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/