Welcome to mirror list, hosted at ThFree Co, Russian Federation.

cygwin.com/git/newlib-cygwin.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
path: root/newlib
diff options
context:
space:
mode:
authorChristopher Faylor <me@cgf.cx>2002-08-18 10:08:39 +0400
committerChristopher Faylor <me@cgf.cx>2002-08-18 10:08:39 +0400
commita94b60cea46803ad239495fe0fe3fbcc13766b81 (patch)
tree9aac9f293a53da5a39a45375c85d03e417bee2c7 /newlib
parent8dca9e230217cc6f4ded94e5fa0ab3f63df941b9 (diff)
* libc/include/sys/unistd.h: Add getsid declaration for cygwin.
Diffstat (limited to 'newlib')
-rw-r--r--newlib/ChangeLog4
-rw-r--r--newlib/libc/include/sys/unistd.h3
2 files changed, 7 insertions, 0 deletions
diff --git a/newlib/ChangeLog b/newlib/ChangeLog
index 5ab4c0d68..9e345cc34 100644
--- a/newlib/ChangeLog
+++ b/newlib/ChangeLog
@@ -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
diff --git a/newlib/libc/include/sys/unistd.h b/newlib/libc/include/sys/unistd.h
index d6ff2500a..06773ccfd 100644
--- a/newlib/libc/include/sys/unistd.h
+++ b/newlib/libc/include/sys/unistd.h
@@ -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));