* libc/include/sys/unistd.h: Add declarations for chroot' and getwd'

when __CYGWIN__ is defined.
This commit is contained in:
Corinna Vinschen 2000-12-14 01:07:23 +00:00
parent b6182a09dd
commit 0985d43f4c
2 changed files with 11 additions and 0 deletions

View File

@ -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

View File

@ -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 ));