[PATCH]: Prototypes for seteuid, setegid

Corinna Vinschen corinna@vinschen.de
Fri Jun 16 13:28:00 GMT 2000


"J. Johnston" wrote:
> clarify that the code is in CYGWIN and there is precedence for doing so.

ok now?

Index: libc/include/sys/unistd.h
===================================================================
RCS file: /cvs/src/src/newlib/libc/include/sys/unistd.h,v
retrieving revision 1.3
diff -u -p -r1.3 unistd.h
--- unistd.h    2000/05/30 17:18:05     1.3
+++ unistd.h    2000/06/16 20:25:24
@@ -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 ));


More information about the Newlib mailing list