From: Kaveh R. Ghazi Date: Tue, 31 Aug 1999 00:52:57 +0000 (+0000) Subject: * libiberty.h (getpwd): Prototype. X-Git-Tag: prereleases/libstdc++-2.92~10927 X-Git-Url: https://gcc.gnu.org/git/?a=commitdiff_plain;h=25c29e1e40d9ffc0f4d4a972ecb044e2f6a13472;p=gcc.git * libiberty.h (getpwd): Prototype. From-SVN: r28997 --- diff --git a/include/ChangeLog b/include/ChangeLog index 5d213d52993c..b2468c99d2c3 100644 --- a/include/ChangeLog +++ b/include/ChangeLog @@ -1,3 +1,7 @@ +1999-08-30 Kaveh R. Ghazi + + * libiberty.h (getpwd): Prototype. + 1999-08-01 Mark Mitchell * splay-tree.h (splay_tree_insert): Return the new node. diff --git a/include/libiberty.h b/include/libiberty.h index cf313662ef42..db3b6d9cf57b 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));