diff options
author | Corinna Vinschen <corinna@vinschen.de> | 2003-01-24 18:25:24 +0300 |
---|---|---|
committer | Corinna Vinschen <corinna@vinschen.de> | 2003-01-24 18:25:24 +0300 |
commit | 8bbcd9a1a5bd3648c93cebf277bc267d03eb8708 (patch) | |
tree | 397596ffe3bdf076602ff35ceb347dc3ff6a68af /newlib | |
parent | 7d33eefa7b3535e37ab3948e8c1d740c1eb17d44 (diff) |
* libc/include/sys/unistd.h: Add setregid and setreuid declarations
for Cygwin.
Diffstat (limited to 'newlib')
-rw-r--r-- | newlib/ChangeLog | 5 | ||||
-rw-r--r-- | newlib/libc/include/sys/unistd.h | 4 |
2 files changed, 9 insertions, 0 deletions
diff --git a/newlib/ChangeLog b/newlib/ChangeLog index 3d75c12c3..e30ea2124 100644 --- a/newlib/ChangeLog +++ b/newlib/ChangeLog @@ -1,3 +1,8 @@ +2003-01-24 Corinna Vinschen <corinna@vinschen.de> + + * libc/include/sys/unistd.h: Add setregid and setreuid declarations + for Cygwin. + 2003-01-21 Anita Kulkarni <anitak@kpit.com> * libc/time/difftime.c : Typecast the result to double. diff --git a/newlib/libc/include/sys/unistd.h b/newlib/libc/include/sys/unistd.h index 1e5f519dd..270be89aa 100644 --- a/newlib/libc/include/sys/unistd.h +++ b/newlib/libc/include/sys/unistd.h @@ -106,6 +106,10 @@ int _EXFUN(setgroups, (int ngroups, const gid_t *grouplist )); #endif int _EXFUN(setpgid, (pid_t __pid, pid_t __pgid )); int _EXFUN(setpgrp, (void )); +#if defined(__CYGWIN__) +int _EXFUN(setregid, (gid_t __rgid, gid_t __egid)); +int _EXFUN(setreuid, (uid_t __ruid, uid_t __euid)); +#endif pid_t _EXFUN(setsid, (void )); int _EXFUN(setuid, (uid_t __uid )); #if defined(__CYGWIN__) |