setgroups

Pierre A. Humblet Pierre.Humblet@ieee.org
Mon Jul 29 18:19:00 GMT 2002


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__



More information about the Cygwin-patches mailing list