OSDN Git Service

* libc/include/sys/unistd.h: Add prototype for fchdir() when
authorcorinna <corinna>
Wed, 17 Oct 2001 18:16:39 +0000 (18:16 +0000)
committercorinna <corinna>
Wed, 17 Oct 2001 18:16:39 +0000 (18:16 +0000)
__CYGWIN__ is defined.

newlib/ChangeLog
newlib/libc/include/sys/unistd.h

index 894fe5c..3bc1e73 100644 (file)
@@ -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
index 0d4af5c..c59212c 100644 (file)
@@ -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 ));