summaryrefslogtreecommitdiff
path: root/include/libiberty.h
diff options
context:
space:
mode:
authorghazi <ghazi@138bc75d-0d04-0410-961f-82ee72b054a4>1999-08-31 00:52:57 +0000
committerghazi <ghazi@138bc75d-0d04-0410-961f-82ee72b054a4>1999-08-31 00:52:57 +0000
commitdc7c90d9424ec224727221a766b5d7456d91a8ed (patch)
tree7ac13fbc56853f374e7749a8d7699e7022c63ec0 /include/libiberty.h
parent71774460a34cfac36daed52a4fc33eb1a5323d79 (diff)
downloadgcc-dc7c90d9424ec224727221a766b5d7456d91a8ed.tar.gz
* libiberty.h (getpwd): Prototype.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@28997 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'include/libiberty.h')
-rw-r--r--include/libiberty.h5
1 files changed, 5 insertions, 0 deletions
diff --git a/include/libiberty.h b/include/libiberty.h
index cf313662ef4..db3b6d9cf57 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));