Mercurial > hg > octave-shane > gnulib-hg
diff modules/wcpncpy @ 14286:c436f87485c4
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.
author | Bruno Haible <bruno@clisp.org> |
---|---|
date | Sat, 05 Feb 2011 15:32:00 +0100 |
parents | |
children | f117125e8cb9 |
line wrap: on
line diff
new file mode 100644 --- /dev/null +++ b/modules/wcpncpy @@ -0,0 +1,25 @@ +Description: +wcpncpy() function: copy a size-bounded wide string. + +Files: +lib/wcpncpy.c +lib/wcpncpy-impl.h +m4/wcpncpy.m4 + +Depends-on: +wchar + +configure.ac: +gl_FUNC_WCPNCPY +gl_WCHAR_MODULE_INDICATOR([wcpncpy]) + +Makefile.am: + +Include: +<wchar.h> + +License: +LGPL + +Maintainer: +Bruno Haible