Welcome to mirror list, hosted at ThFree Co, Russian Federation.

cygwin.com/git/newlib-cygwin.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorYaakov Selkowitz <yselkowi@redhat.com>2012-01-10 02:49:20 +0400
committerYaakov Selkowitz <yselkowi@redhat.com>2012-01-10 02:49:20 +0400
commit5ecc040cff80eb26ef4977ce6dfe7f429778b584 (patch)
tree3432e501a80a903c915a3ad5a2e9e3d8de43e943
parent3182cdfaf01ce03611b57d0d31044c125a02d52c (diff)
* libc/include/sys/unistd.h [__CYGWIN__] (get_current_dir_name):
Declare.
-rw-r--r--newlib/ChangeLog5
-rw-r--r--newlib/libc/include/sys/unistd.h3
2 files changed, 8 insertions, 0 deletions
diff --git a/newlib/ChangeLog b/newlib/ChangeLog
index 2b4783c3c..e14db272f 100644
--- a/newlib/ChangeLog
+++ b/newlib/ChangeLog
@@ -1,5 +1,10 @@
2012-01-09 Yaakov Selkowitz <yselkowitz@users.sourceforge.net>
+ * libc/include/sys/unistd.h [__CYGWIN__] (get_current_dir_name):
+ Declare.
+
+2012-01-09 Yaakov Selkowitz <yselkowitz@users.sourceforge.net>
+
* libc/include/complex.h: Fix "/*" within comment warning.
2012-01-09 Corinna Vinschen <vinschen@redhat.com>
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));