diff options
author | Kaveh R. Ghazi <ghazi@caip.rutgers.edu> | 1999-08-31 00:52:57 +0000 |
---|---|---|
committer | Kaveh Ghazi <ghazi@gcc.gnu.org> | 1999-08-31 00:52:57 +0000 |
commit | 25c29e1e40d9ffc0f4d4a972ecb044e2f6a13472 (patch) | |
tree | 7ac13fbc56853f374e7749a8d7699e7022c63ec0 /include | |
parent | 4ac3cb830a7e22e721face7118cdbefdd0515a1e (diff) | |
download | gcc-25c29e1e40d9ffc0f4d4a972ecb044e2f6a13472.zip gcc-25c29e1e40d9ffc0f4d4a972ecb044e2f6a13472.tar.gz gcc-25c29e1e40d9ffc0f4d4a972ecb044e2f6a13472.tar.bz2 |
* libiberty.h (getpwd): Prototype.
From-SVN: r28997
Diffstat (limited to 'include')
-rw-r--r-- | include/ChangeLog | 4 | ||||
-rw-r--r-- | include/libiberty.h | 5 |
2 files changed, 9 insertions, 0 deletions
diff --git a/include/ChangeLog b/include/ChangeLog index 5d213d5..b2468c9 100644 --- a/include/ChangeLog +++ b/include/ChangeLog @@ -1,3 +1,7 @@ +1999-08-30 Kaveh R. Ghazi <ghazi@caip.rutgers.edu> + + * libiberty.h (getpwd): Prototype. + 1999-08-01 Mark Mitchell <mark@codesourcery.com> * splay-tree.h (splay_tree_insert): Return the new node. diff --git a/include/libiberty.h b/include/libiberty.h index cf31366..db3b6d9 100644 --- a/include/libiberty.h +++ b/include/libiberty.h @@ -51,6 +51,11 @@ extern char *concat PARAMS ((const char *, ...)); extern int fdmatch PARAMS ((int fd1, int fd2)); +/* Get the working directory. The result is cached, so don't call + chdir() between calls to getpwd(). */ + +extern char * getpwd PARAMS ((void)); + /* Get the amount of time the process has run, in microseconds. */ extern long get_run_time PARAMS ((void)); |