This is the mail archive of the
mailing list for the Cygwin project.
Re: Cannot find setgroups()?
>> bigger problem. My purpose for using <lmaccess.h> was for
>> setgroups(). And when I compile this code:
>> undefined reference to `setgroups'
>> collect2: ld returned 1 exit status
> setgroups() doesn't exist in Cygwin. However, I don't understand
> what a POSIX function has to do with a native Windows header.
Oops. My mistake. lmaccess.h (part of the w32api set) contains
netusersetgroups, which I mistook for setgroups.
Jonathan E. Brickman http://joshuacorps.org
Live forever. If you don't know how, or aren't sure,
please ask, and I will tell you.
Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple
Bug reporting: http://cygwin.com/bugs.html