summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
author"Steven J. Hill" <sjhill@realitydiluted.com>2002-09-04 02:44:32 +0000
committer"Steven J. Hill" <sjhill@realitydiluted.com>2002-09-04 02:44:32 +0000
commit4f726510eb51706fb3c35e78f22c36ae3323a3c7 (patch)
treec01790c3b6844b75c89150dee808eed1361e78a9 /include
parent66dc2a8bbce9b31ca6d45fbe949e7d8d7b2f024c (diff)
Added function 'get_current_dir_name' for Linux Test Project. Tested and
works identically to function in glibc.
Diffstat (limited to 'include')
-rw-r--r--include/unistd.h3
1 files changed, 0 insertions, 3 deletions
diff --git a/include/unistd.h b/include/unistd.h
index 0f9942b2e..e5441c48e 100644
--- a/include/unistd.h
+++ b/include/unistd.h
@@ -423,13 +423,10 @@ extern int fchdir (int __fd) __THROW;
big as necessary. */
extern char *getcwd (char *__buf, size_t __size) __THROW;
-#if 0
-/*#ifdef __USE_GNU*/
/* Return a malloc'd string containing the current directory name.
If the environment variable `PWD' is set, and its value is correct,
that value is used. */
extern char *get_current_dir_name (void) __THROW;
-#endif
#if defined __USE_BSD || defined __USE_XOPEN_EXTENDED
/* Put the absolute pathname of the current working directory in BUF.