diff options
author | Corinna Vinschen <corinna@vinschen.de> | 2001-10-17 18:16:43 +0000 |
---|---|---|
committer | Corinna Vinschen <corinna@vinschen.de> | 2001-10-17 18:16:43 +0000 |
commit | c711831918b5b066e41aae33c2f043c05d8805e9 (patch) | |
tree | bad0d8947784d5bb85d43be258060f59a5a56dd0 /newlib/libc | |
parent | 406234a70edac71a457605ec1722efbebc01edfa (diff) | |
download | newlib-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/libc')
-rw-r--r-- | newlib/libc/include/sys/unistd.h | 3 |
1 files changed, 3 insertions, 0 deletions
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 )); |