New module 'wcsncpy'.
authorBruno Haible <bruno@clisp.org>
Sat, 5 Feb 2011 14:24:52 +0000 (15:24 +0100)
committerBruno Haible <bruno@clisp.org>
Mon, 7 Feb 2011 22:36:04 +0000 (23:36 +0100)
commitcde82ba3a73b7482132a950ac0d7cb0da67a2e1c
treee5900c15de58e51af1eebd7a8c96f2039bca0859
parent83527ac1b14a16ad2254b81ced7457fbaa791550
New module 'wcsncpy'.

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