diff options
author | "Steven J. Hill" <sjhill@realitydiluted.com> | 2005-11-17 02:17:53 +0000 |
---|---|---|
committer | "Steven J. Hill" <sjhill@realitydiluted.com> | 2005-11-17 02:17:53 +0000 |
commit | 74e15a5eaa6b43a7fb391c73f784671e0a493368 (patch) | |
tree | 3fa4f375f862e769842a93deca3b21f27daa4522 /libc/string/wcsdup.c | |
parent | b75ad398f5422f3f767dfb0dcb568906d49f72e9 (diff) | |
download | uClibc-alpine-74e15a5eaa6b43a7fb391c73f784671e0a493368.tar.bz2 uClibc-alpine-74e15a5eaa6b43a7fb391c73f784671e0a493368.tar.xz |
Copy from trunk.
Diffstat (limited to 'libc/string/wcsdup.c')
-rw-r--r-- | libc/string/wcsdup.c | 20 |
1 files changed, 20 insertions, 0 deletions
diff --git a/libc/string/wcsdup.c b/libc/string/wcsdup.c new file mode 100644 index 000000000..f1af0d683 --- /dev/null +++ b/libc/string/wcsdup.c @@ -0,0 +1,20 @@ +/* + * Copyright (C) 2000-2005 Erik Andersen <andersen@uclibc.org> + * + * Licensed under the LGPL v2.1, see the file COPYING.LIB in this tarball. + */ + +#define L_strdup +#define WANT_WIDE +#define Wstrdup __wcsdup + +#undef Wstrlen +#undef Wstrcpy +#define Wstrlen wcslen +#define Wstrcpy wcscpy + +#include "wstring.c" + +strong_alias(__wcsdup, wcsdup) + +#undef L_strdup |