From b585720b592290e33d487473469080604197dd7d Mon Sep 17 00:00:00 2001 From: Corinna Vinschen Date: Fri, 16 Jun 2000 21:04:37 +0000 Subject: * libc/include/sys/unistd.h: Add prototypes for `seteuid' and `setegid' provided by Cygwin. --- newlib/libc/include/sys/unistd.h | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'newlib/libc') diff --git a/newlib/libc/include/sys/unistd.h b/newlib/libc/include/sys/unistd.h index 1986edea6..d681c5c86 100644 --- a/newlib/libc/include/sys/unistd.h +++ b/newlib/libc/include/sys/unistd.h @@ -58,6 +58,10 @@ int _EXFUN(pipe, (int __fildes[2] )); int _EXFUN(read, (int __fildes, void *__buf, size_t __nbyte )); int _EXFUN(rmdir, (const char *__path )); void * _EXFUN(sbrk, (size_t __incr)); +#if defined(__CYGWIN__) +int _EXFUN(setegid, (gid_t __gid )); +int _EXFUN(seteuid, (uid_t __uid )); +#endif int _EXFUN(setgid, (gid_t __gid )); int _EXFUN(setpgid, (pid_t __pid, pid_t __pgid )); pid_t _EXFUN(setsid, (void )); -- cgit v1.2.3