summaryrefslogtreecommitdiff
path: root/libiberty/getcwd.c
diff options
context:
space:
mode:
authorjsm28 <jsm28@138bc75d-0d04-0410-961f-82ee72b054a4>2001-10-07 21:53:31 +0000
committerjsm28 <jsm28@138bc75d-0d04-0410-961f-82ee72b054a4>2001-10-07 21:53:31 +0000
commita3a8a3df15ba3bfeaad5a3fa695b1736c2a33fd1 (patch)
tree12540ed2bdf09e822d8d7262f4f4319edd0771c7 /libiberty/getcwd.c
parent9bccb7a35c3537745d3a9d597764aa8f78032bb9 (diff)
downloadgcc-a3a8a3df15ba3bfeaad5a3fa695b1736c2a33fd1.tar.gz
* alloca.c, clock.c, getcwd.c, getpagesize.c, getpwd.c, index.c,
libiberty.texi, memchr.c, putenv.c, rindex.c, strchr.c, strdup.c, strerror.c, strrchr.c, strstr.c, strtod.c, tmpnam.c, vfork.c, xatexit.c, xmalloc.c, xstrerror.c: Improve manual formatting. Fix spelling. Give names to function arguments in documentation. Use (void) prototypes in documentation. * functions.texi: Regenerate. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@46068 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'libiberty/getcwd.c')
-rw-r--r--libiberty/getcwd.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/libiberty/getcwd.c b/libiberty/getcwd.c
index 8c7c04ceb4e..465b4e0b2aa 100644
--- a/libiberty/getcwd.c
+++ b/libiberty/getcwd.c
@@ -3,13 +3,13 @@
/*
-@deftypefn Supplemental char* getcwd (char *@var{pathname}, @var{len})
+@deftypefn Supplemental char* getcwd (char *@var{pathname}, int @var{len})
Copy the absolute pathname for the current working directory into
@var{pathname}, which is assumed to point to a buffer of at least
@var{len} bytes, and return a pointer to the buffer. If the current
directory's path doesn't fit in @var{len} characters, the result is
-NULL and @var{errno} is set. If @var{pathname} is a null pointer,
+@code{NULL} and @code{errno} is set. If @var{pathname} is a null pointer,
@code{getcwd} will obtain @var{len} bytes of space using
@code{malloc}.