John Summerfield wrote: > > I have a code fragment: > struct group *grp = getgrnam(group.data()); you have to use group.c_str() since .data() doesn't have a \0 terminator. -- Levente http://petition.eurolinux.org/index_html "The only thing worse than not knowing the truth is ruining the bliss of ignorance." _______________________________________________ Redhat-devel-list mailing list [EMAIL PROTECTED] https://listman.redhat.com/mailman/listinfo/redhat-devel-list
- A question for C programmers about getgrnam John Summerfield
- Re: A question for C programmers about getgrnam Thomas Dodd
- Re: A question for C programmers about getgrnam John Summerfield
- Re: A question for C programmers about getgrnam Thomas Dodd
- Re: A question for C programmers about getgrnam Levente Farkas
- Re: A question for C programmers about getgrnam John Summerfield
- Re: A question for C programmers about getgrnam Thomas Dodd