diff options
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..25043ced1 --- /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 |