I may have put it a bit incorrectly,

> In that case, your expectations of the getgrXXX functions are wrong.

but I don't think so.  I am looking if a user belongs to a group,
either as their primary or secondary one.  So when using getgrXXX()
I check to see if a user (whose primary, passwd-supplied, gid does not
match the gid of the group) is listed as a member.  In CYGWIN that does
not work because the information is missing from the group file.

Anton Lavrentiev
Contractor NIH/NLM/NCBI

Reply via email to