This is the mail archive of the newlib@sourceware.cygnus.com mailing list for the newlib project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]

Re: [PATCH]: Prototypes for seteuid, setegid


"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 ));

Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]