New module 'wcpncpy'.
authorBruno Haible <bruno@clisp.org>
Sat, 5 Feb 2011 14:32:00 +0000 (15:32 +0100)
committerBruno Haible <bruno@clisp.org>
Mon, 7 Feb 2011 22:36:04 +0000 (23:36 +0100)
commit49549725af344962f45720d4d332d9cf0699ebcd
treee8bdb8368d12ef769826ce3d2d43f3c01179da70
parentcde82ba3a73b7482132a950ac0d7cb0da67a2e1c
New module 'wcpncpy'.

* modules/wcpncpy: New file.
* lib/wchar.in.h (wcpncpy): New declaration.
* lib/wcpncpy.c: New file.
* lib/wcpncpy-impl.h: New file, from libutf8 with modifications.
* m4/wcpncpy.m4: New file.
* m4/wchar_h.m4 (gl_WCHAR_H): Test whether wcpncpy is declared.
(gl_WCHAR_H_DEFAULTS): Initialize GNULIB_WCPNCPY, HAVE_WCPNCPY.
* modules/wchar (Makefile.am): Substitute GNULIB_WCPNCPY, HAVE_WCPNCPY.
* tests/test-wchar-c++.cc: Test the declaration of wcpncpy.
* doc/posix-functions/wcpncpy.texi: Mention the new module.
ChangeLog
doc/posix-functions/wcpncpy.texi
lib/wchar.in.h
lib/wcpncpy-impl.h [new file with mode: 0644]
lib/wcpncpy.c [new file with mode: 0644]
m4/wchar_h.m4
m4/wcpncpy.m4 [new file with mode: 0644]
modules/wchar
modules/wcpncpy [new file with mode: 0644]
tests/test-wchar-c++.cc