summaryrefslogtreecommitdiffstats
path: root/newlib/libc/include/sys
diff options
context:
space:
mode:
authorYaakov Selkowitz <yselkowi@redhat.com>2012-01-09 22:49:20 +0000
committerYaakov Selkowitz <yselkowi@redhat.com>2012-01-09 22:49:20 +0000
commit5ecc040cff80eb26ef4977ce6dfe7f429778b584 (patch)
tree3432e501a80a903c915a3ad5a2e9e3d8de43e943 /newlib/libc/include/sys
parent3182cdfaf01ce03611b57d0d31044c125a02d52c (diff)
downloadcygnal-5ecc040cff80eb26ef4977ce6dfe7f429778b584.tar.gz
cygnal-5ecc040cff80eb26ef4977ce6dfe7f429778b584.tar.bz2
cygnal-5ecc040cff80eb26ef4977ce6dfe7f429778b584.zip
* libc/include/sys/unistd.h [__CYGWIN__] (get_current_dir_name):
Declare.
Diffstat (limited to 'newlib/libc/include/sys')
-rw-r--r--newlib/libc/include/sys/unistd.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/newlib/libc/include/sys/unistd.h b/newlib/libc/include/sys/unistd.h
index 900faa7bf..6bae77483 100644
--- a/newlib/libc/include/sys/unistd.h
+++ b/newlib/libc/include/sys/unistd.h
@@ -71,6 +71,9 @@ pid_t _EXFUN(fork, (void ));
long _EXFUN(fpathconf, (int __fd, int __name ));
int _EXFUN(fsync, (int __fd));
int _EXFUN(fdatasync, (int __fd));
+#if defined(__CYGWIN__)
+char * _EXFUN(get_current_dir_name, (void));
+#endif
char * _EXFUN(getcwd, (char *__buf, size_t __size ));
#if defined(__CYGWIN__)
int _EXFUN(getdomainname ,(char *__name, size_t __len));