* expr.c (operand, operator): Don't reject '++' and '--'.
[deliverable/binutils-gdb.git] / libiberty / getpwd.c
index de6e03976483fcb86ac3f5c9cff86245cdb246d4..31c7d20f307c86ee39b597c785be83f957029e64 100644 (file)
@@ -1,5 +1,17 @@
 /* getpwd.c - get the working directory */
 
+/*
+
+@deftypefn Supplemental char* getpwd (void)
+
+Returns the current working directory.  This implementation caches the
+result on the assumption that the process will not call @code{chdir}
+between calls to @code{getpwd}.
+
+@end deftypefn
+
+*/
+
 #ifdef HAVE_CONFIG_H
 #include "config.h"
 #endif
@@ -23,6 +35,9 @@ extern int errno;
 #if HAVE_SYS_STAT_H
 #include <sys/stat.h>
 #endif
+#if HAVE_LIMITS_H
+#include <limits.h>
+#endif
 
 /* Prototype these in case the system headers don't provide them. */
 extern char *getpwd ();
This page took 0.023048 seconds and 4 git commands to generate.