[PATCH] Add getsid() declaration for __CYGWIN__
Christopher Faylor
cgf@redhat.com
Sat Aug 17 23:08:00 GMT 2002
Index: ChangeLog
===================================================================
RCS file: /cvs/uberbaum/newlib/ChangeLog,v
retrieving revision 1.414
diff -u -p -r1.414 ChangeLog
--- ChangeLog 17 Aug 2002 06:10:32 -0000 1.414
+++ ChangeLog 18 Aug 2002 06:07:29 -0000
@@ -1,3 +1,7 @@
+2002-08-18 Christopher Faylor <cgf@redhat.com>
+
+ * libc/include/sys/unistd.h: Add getsid declaration for cygwin.
+
2002-08-17 Jeff Johnston <jjohnstn@redhat.com>
* libc/include/sys/config.h[__PPC__][__SPE__]: Set
Index: libc/include/sys/unistd.h
===================================================================
RCS file: /cvs/uberbaum/newlib/libc/include/sys/unistd.h,v
retrieving revision 1.35
diff -u -p -r1.35 unistd.h
--- libc/include/sys/unistd.h 17 Aug 2002 05:19:17 -0000 1.35
+++ libc/include/sys/unistd.h 18 Aug 2002 06:07:29 -0000
@@ -64,6 +64,9 @@ pid_t _EXFUN(getpgid, (pid_t));
pid_t _EXFUN(getpgrp, (void ));
pid_t _EXFUN(getpid, (void ));
pid_t _EXFUN(getppid, (void ));
+#ifdef __CYGWIN__
+pid_t _EXFUN(getsid, (pid_t));
+#endif
uid_t _EXFUN(getuid, (void ));
#ifdef __CYGWIN__
char * _EXFUN(getusershell, (void));
More information about the Newlib
mailing list