aboutsummaryrefslogtreecommitdiff
path: root/newlib
diff options
context:
space:
mode:
authorCorinna Vinschen <corinna@vinschen.de>2001-10-17 18:16:43 +0000
committerCorinna Vinschen <corinna@vinschen.de>2001-10-17 18:16:43 +0000
commitc711831918b5b066e41aae33c2f043c05d8805e9 (patch)
treebad0d8947784d5bb85d43be258060f59a5a56dd0 /newlib
parent406234a70edac71a457605ec1722efbebc01edfa (diff)
downloadnewlib-c711831918b5b066e41aae33c2f043c05d8805e9.zip
newlib-c711831918b5b066e41aae33c2f043c05d8805e9.tar.gz
newlib-c711831918b5b066e41aae33c2f043c05d8805e9.tar.bz2
* libc/include/sys/unistd.h: Add prototype for fchdir() when
__CYGWIN__ is defined.
Diffstat (limited to 'newlib')
-rw-r--r--newlib/ChangeLog5
-rw-r--r--newlib/libc/include/sys/unistd.h3
2 files changed, 8 insertions, 0 deletions
diff --git a/newlib/ChangeLog b/newlib/ChangeLog
index 894fe5c..3bc1e73 100644
--- a/newlib/ChangeLog
+++ b/newlib/ChangeLog
@@ -1,3 +1,8 @@
+2001-10-17 Corinna Vinschen <corinna@vinschen.de>
+
+ * libc/include/sys/unistd.h: Add prototype for fchdir() when
+ __CYGWIN__ is defined.
+
2001-10-01 Charles Wilson <cwilson@ece.gatech.edu>
* libc/include/stdlib.h: add declarations for
diff --git a/newlib/libc/include/sys/unistd.h b/newlib/libc/include/sys/unistd.h
index 0d4af5c..c59212c 100644
--- a/newlib/libc/include/sys/unistd.h
+++ b/newlib/libc/include/sys/unistd.h
@@ -35,6 +35,9 @@ int _EXFUN(execlp, (const char *__file, const char *, ... ));
int _EXFUN(execv, (const char *__path, char * const __argv[] ));
int _EXFUN(execve, (const char *__path, char * const __argv[], char * const __envp[] ));
int _EXFUN(execvp, (const char *__file, char * const __argv[] ));
+#if defined(__CYGWIN__)
+int _EXFUN(fchdir, (int __fildes));
+#endif
int _EXFUN(fchmod, (int __fildes, mode_t __mode ));
int _EXFUN(fchown, (int __fildes, uid_t __owner, gid_t __group ));
pid_t _EXFUN(fork, (void ));