1
0
mirror of https://git.savannah.gnu.org/git/gnulib.git synced 2025-08-08 17:22:05 +03:00

New module 'wcscpy'.

* modules/wcscpy: New file.
* lib/wchar.in.h (wcscpy): New declaration.
* lib/wcscpy.c: New file.
* lib/wcscpy-impl.h: New file, from libutf8 with modifications.
* m4/wcscpy.m4: New file.
* m4/wchar_h.m4 (gl_WCHAR_H): Test whether wcscpy is declared.
(gl_WCHAR_H_DEFAULTS): Initialize GNULIB_WCSCPY, HAVE_WCSCPY.
* modules/wchar (Makefile.am): Substitute GNULIB_WCSCPY, HAVE_WCSCPY.
* tests/test-wchar-c++.cc: Test the declaration of wcscpy.
* doc/posix-functions/wcscpy.texi: Mention the new module.
This commit is contained in:
Bruno Haible
2011-02-05 14:23:31 +01:00
parent 28fef9da83
commit cca5dbfe86
10 changed files with 139 additions and 5 deletions

31
modules/wcscpy Normal file
View File

@@ -0,0 +1,31 @@
Description:
wcscpy() function: copy a wide string.
Status:
obsolete
Notice:
This module is obsolete.
Files:
lib/wcscpy.c
lib/wcscpy-impl.h
m4/wcscpy.m4
Depends-on:
wchar
configure.ac:
gl_FUNC_WCSCPY
gl_WCHAR_MODULE_INDICATOR([wcscpy])
Makefile.am:
Include:
<wchar.h>
License:
LGPL
Maintainer:
Bruno Haible