summaryrefslogtreecommitdiffstats
path: root/newlib/libc/string/wcsdup.c
diff options
context:
space:
mode:
authorJeff Johnston <jjohnstn@redhat.com>2009-03-25 17:57:11 +0000
committerJeff Johnston <jjohnstn@redhat.com>2009-03-25 17:57:11 +0000
commit0b211e340fc1d1a6cfd7d2d21d8cbd233865ce71 (patch)
treebb64c595ac45ab4c422a6ee89bc1c16c84f0da34 /newlib/libc/string/wcsdup.c
parentd84b37e24be2942f60ff395c22a576cb5ef1fcf6 (diff)
downloadcygnal-0b211e340fc1d1a6cfd7d2d21d8cbd233865ce71.tar.gz
cygnal-0b211e340fc1d1a6cfd7d2d21d8cbd233865ce71.tar.bz2
cygnal-0b211e340fc1d1a6cfd7d2d21d8cbd233865ce71.zip
2009-03-25 Jeff Johnston <jjohnstn@redhat.com>
* libc/string/wcsdup.c: Fix documentation error. * libc/string/Makefile.am: Fix CHEWOUT files to contain wcsdup.def rather than wcsdup. * libc/string/Makefile.in: Regenerated.
Diffstat (limited to 'newlib/libc/string/wcsdup.c')
-rw-r--r--newlib/libc/string/wcsdup.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/newlib/libc/string/wcsdup.c b/newlib/libc/string/wcsdup.c
index 8462c0b09..90be68e02 100644
--- a/newlib/libc/string/wcsdup.c
+++ b/newlib/libc/string/wcsdup.c
@@ -12,16 +12,16 @@ ANSI_SYNOPSIS
wchar_t *wcsdup(const wchar_t *<[str]>);
#include <wchar.h>
- wchar_t *_wcsdup_r(struct _reent *<ptr>, const wchar_t *<[str]>);
+ wchar_t *_wcsdup_r(struct _reent *<[ptr]>, const wchar_t *<[str]>);
TRAD_SYNOPSIS
#include <wchar.h>
- wchar_t *wcsdup(<ptr>, <[str]>)
- struct _reent *<ptr>;
+ wchar_t *wcsdup(<[ptr]>, <[str]>)
+ struct _reent *<[ptr]>;
wchar_t *<[str]>;
DESCRIPTION
- <<wcsdup>> allocates a new wide character string using <<malloc>,
+ <<wcsdup>> allocates a new wide character string using <<malloc>>,
and copies the content of the argument <[str]> into the newly
allocated string, thus making a copy of <[str]>.