diff options
author | Corinna Vinschen <corinna@vinschen.de> | 2002-07-30 15:35:03 +0400 |
---|---|---|
committer | Corinna Vinschen <corinna@vinschen.de> | 2002-07-30 15:35:03 +0400 |
commit | b96332ce3cf2a83b4f04b118a8ca3eadf1b24cbc (patch) | |
tree | 34bae7df4644520bad85d8fa93d4d61593a8f4df | |
parent | 4f9cdc937825124891db8e187cc7621c928fe651 (diff) |
* libc/include/sys/unistd.h: Add setgroups prototype for Cygwin.
-rw-r--r-- | newlib/ChangeLog | 4 | ||||
-rw-r--r-- | newlib/libc/include/sys/unistd.h | 3 |
2 files changed, 7 insertions, 0 deletions
diff --git a/newlib/ChangeLog b/newlib/ChangeLog index 818bd52db..0ff7f9833 100644 --- a/newlib/ChangeLog +++ b/newlib/ChangeLog @@ -1,3 +1,7 @@ +2002-07-29 Pierre Humblet <pierre.humblet@ieee.org> + + * libc/include/sys/unistd.h: Add setgroups prototype for Cygwin. + 2002-07-29 Jeff Johnston <jjohnstn@redhat.com> * libc/sys/linux/Makefile.am: Add aio64.c. diff --git a/newlib/libc/include/sys/unistd.h b/newlib/libc/include/sys/unistd.h index df824d88d..1565bf0f8 100644 --- a/newlib/libc/include/sys/unistd.h +++ b/newlib/libc/include/sys/unistd.h @@ -101,6 +101,9 @@ int _EXFUN(setegid, (gid_t __gid )); int _EXFUN(seteuid, (uid_t __uid )); #endif int _EXFUN(setgid, (gid_t __gid )); +#if defined(__CYGWIN__) +int _EXFUN(setgroups, (int ngroups, const gid_t *grouplist )); +#endif int _EXFUN(setpgid, (pid_t __pid, pid_t __pgid )); int _EXFUN(setpgrp, (void )); pid_t _EXFUN(setsid, (void )); |