Mercurial > hg > octave-nkf > gnulib-hg
view modules/wcsncpy @ 14285:46d0f7a51cc0
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.
author | Bruno Haible <bruno@clisp.org> |
---|---|
date | Sat, 05 Feb 2011 15:24:52 +0100 |
parents | |
children | eb8992dfd014 |
line wrap: on
line source
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: <wchar.h> License: LGPL Maintainer: Bruno Haible