From 99b581398536aae4ac5653df23c3d12d23359c1d Mon Sep 17 00:00:00 2001 From: DJ Delorie Date: Sun, 7 Oct 2001 22:42:23 +0000 Subject: merge from gcc --- libiberty/getcwd.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'libiberty/getcwd.c') diff --git a/libiberty/getcwd.c b/libiberty/getcwd.c index 8c7c04c..465b4e0 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}. -- cgit v1.1