From cde82ba3a73b7482132a950ac0d7cb0da67a2e1c Mon Sep 17 00:00:00 2001 From: Bruno Haible Date: Sat, 5 Feb 2011 15:24:52 +0100 Subject: 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. --- modules/wcsncpy | 31 +++++++++++++++++++++++++++++++ 1 file changed, 31 insertions(+) create mode 100644 modules/wcsncpy (limited to 'modules/wcsncpy') diff --git a/modules/wcsncpy b/modules/wcsncpy new file mode 100644 index 0000000000..e1c4996338 --- /dev/null +++ b/modules/wcsncpy @@ -0,0 +1,31 @@ +Description: +wcsncpy() function: copy a size-bounded wide string. + +Status: +obsolete + +Notice: +This module is obsolete. + +Files: +lib/wcsncpy.c +lib/wcsncpy-impl.h +m4/wcsncpy.m4 + +Depends-on: +wchar + +configure.ac: +gl_FUNC_WCSNCPY +gl_WCHAR_MODULE_INDICATOR([wcsncpy]) + +Makefile.am: + +Include: + + +License: +LGPL + +Maintainer: +Bruno Haible -- cgit v1.2.1