delorie.com/archives/browse.cgi | search |
Mailing-List: | contact cygwin-help AT cygwin DOT com; run by ezmlm |
List-Subscribe: | <mailto:cygwin-subscribe AT cygwin DOT com> |
List-Archive: | <http://sources.redhat.com/ml/cygwin/> |
List-Post: | <mailto:cygwin AT cygwin DOT com> |
List-Help: | <mailto:cygwin-help AT cygwin DOT com>, <http://sources.redhat.com/ml/#faqs> |
Sender: | cygwin-owner AT cygwin DOT com |
Mail-Followup-To: | cygwin AT cygwin DOT com |
Delivered-To: | mailing list cygwin AT cygwin DOT com |
Date: | Tue, 16 Jul 2002 17:25:29 -0500 |
From: | "Jonathan E. Brickman" <jonathan DOT brickman AT gmx DOT net> |
X-Priority: | 3 (Normal) |
Message-ID: | <1021755801.20020716172529@gmx.net> |
To: | cygwin AT cygwin DOT com |
Subject: | Re[2]: Cannot find setgroups()? |
In-Reply-To: | <20020716155741.R6932@cygbert.vinschen.de> |
References: | <142458519 DOT 20020715174949 AT gmx DOT net> |
<161269976 DOT 20020716103137 AT logos-m DOT ru> <1792337422 DOT 20020716072927 AT gmx DOT net> | |
<20020716155741 DOT R6932 AT cygbert DOT vinschen DOT de> | |
MIME-Version: | 1.0 |
>> 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 Documentation: http://cygwin.com/docs.html FAQ: http://cygwin.com/faq/
webmaster | delorie software privacy |
Copyright © 2019 by DJ Delorie | Updated Jul 2019 |