This is the mail archive of the cygwin-patches@cygwin.com mailing list for the Cygwin project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: setgroups


At 10:59 AM 7/26/2002 +0200, Corinna Vinschen wrote:
>> I still need to declare it in an .h file.
>> Should it be in src/newlib/libc/include/sys/unistd.h ?
>
>What about adding it to newlib/libc/sys/cygwin/include/unistd.h?

Corinna, 
here it is

2002-07-29  Pierre Humblet  <pierre.humblet@ieee.org>

	* libc/sys/cygwin/include/unistd.h: Declare setgroups.


--- unistd.h.orig       2001-12-17 16:32:26.000000000 -0500
+++ unistd.h    2002-07-29 21:01:50.000000000 -0400
@@ -4,6 +4,7 @@
 #define _UNISTD_H_
 
 # include <sys/unistd.h>
+int     _EXFUN(setgroups, (int ngroups, const gid_t *grouplist ));
 # define __UNISTD_GETOPT__
 # include <getopt.h>
 # undef __UNISTD_GETOPT__


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]