diff options
Diffstat (limited to 'newlib')
-rw-r--r-- | newlib/ChangeLog | 5 | ||||
-rw-r--r-- | newlib/libc/include/sys/unistd.h | 6 |
2 files changed, 11 insertions, 0 deletions
diff --git a/newlib/ChangeLog b/newlib/ChangeLog index 61b6c7fee..19af86384 100644 --- a/newlib/ChangeLog +++ b/newlib/ChangeLog @@ -1,3 +1,8 @@ +Wed Dec 13 11:52:00 2000 Corinna Vinschen <vinschen@cygnus.com> + + * libc/include/sys/unistd.h: Add declarations for `chroot' and `getwd' + when __CYGWIN__ is defined. + 2000-12-13 Jeff Johnston <jjohnstn@redhat.com> * libc/stdlib/ldtoa.c (_ldcheck): New routine diff --git a/newlib/libc/include/sys/unistd.h b/newlib/libc/include/sys/unistd.h index cfb47fa25..cc4a9c665 100644 --- a/newlib/libc/include/sys/unistd.h +++ b/newlib/libc/include/sys/unistd.h @@ -20,6 +20,9 @@ unsigned _EXFUN(alarm, (unsigned __secs )); int _EXFUN(chdir, (const char *__path )); int _EXFUN(chmod, (const char *__path, mode_t __mode )); int _EXFUN(chown, (const char *__path, uid_t __owner, gid_t __group )); +#ifdef __CYGWIN__ +int _EXFUN(chroot, (const char *__path )); +#endif int _EXFUN(close, (int __fildes )); char _EXFUN(*ctermid, (char *__s )); char _EXFUN(*cuserid, (char *__s )); @@ -51,6 +54,9 @@ pid_t _EXFUN(getpgrp, (void )); pid_t _EXFUN(getpid, (void )); pid_t _EXFUN(getppid, (void )); uid_t _EXFUN(getuid, (void )); +#ifdef __CYGWIN__ +char _EXFUN(*getwd, (char *__buf )); +#endif int _EXFUN(isatty, (int __fildes )); int _EXFUN(lchown, (const char *__path, uid_t __owner, gid_t __group )); int _EXFUN(link, (const char *__path1, const char *__path2 )); |