mirror of
https://git.savannah.gnu.org/git/gnulib.git
synced 2025-08-17 12:41:05 +03:00
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.
This commit is contained in:
31
modules/wcsncpy
Normal file
31
modules/wcsncpy
Normal file
@@ -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:
|
||||
<wchar.h>
|
||||
|
||||
License:
|
||||
LGPL
|
||||
|
||||
Maintainer:
|
||||
Bruno Haible
|
Reference in New Issue
Block a user