[PATCH] Define getpeereid for Cygwin.
Corinna Vinschen
vinschen@redhat.com
Wed Feb 23 17:44:00 GMT 2005
FYI, I've applied the below patch.
Corinna
* libc/include/sys/unistd.h: Define getpeereid for Cygwin.
Index: libc/include/sys/unistd.h
===================================================================
RCS file: /cvs/src/src/newlib/libc/include/sys/unistd.h,v
retrieving revision 1.54
retrieving revision 1.55
diff -u -p -r1.54 -r1.55
--- libc/include/sys/unistd.h 22 Feb 2005 15:31:51 -0000 1.54
+++ libc/include/sys/unistd.h 23 Feb 2005 17:42:07 -0000 1.55
@@ -73,6 +73,9 @@ int _EXFUN(getlogin_r, (char *name, size
#endif
char _EXFUN(*getpass, (const char *__prompt));
size_t _EXFUN(getpagesize, (void));
+#if defined(__CYGWIN__)
+int _EXFUN(getpeereid, (int, uid_t *, gid_t *));
+#endif
pid_t _EXFUN(getpgid, (pid_t));
pid_t _EXFUN(getpgrp, (void ));
pid_t _EXFUN(getpid, (void ));
--
Corinna Vinschen
Cygwin Project Co-Leader
Red Hat, Inc.
More information about the Newlib
mailing list