diff options
author | DJ Delorie <dj@delorie.com> | 2001-10-07 22:42:23 +0000 |
---|---|---|
committer | DJ Delorie <dj@delorie.com> | 2001-10-07 22:42:23 +0000 |
commit | f408a0c0ef4c360ad3ae96ca1e3b976587c666d5 (patch) | |
tree | 43876d6e3b21f1a2a97e6af22994999e37d6bf0f /libiberty/getcwd.c | |
parent | 5849f895508122d117627bfddf595a51eedab5c0 (diff) | |
download | gdb-f408a0c0ef4c360ad3ae96ca1e3b976587c666d5.tar.gz |
merge from gcc
Diffstat (limited to 'libiberty/getcwd.c')
-rw-r--r-- | libiberty/getcwd.c | 4 |
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}. |