Mercurial > hg > octave-nkf > gnulib-hg
annotate 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 |
rev | line source |
---|---|
14285 | 1 Description: |
2 wcsncpy() function: copy a size-bounded wide string. | |
3 | |
4 Status: | |
5 obsolete | |
6 | |
7 Notice: | |
8 This module is obsolete. | |
9 | |
10 Files: | |
11 lib/wcsncpy.c | |
12 lib/wcsncpy-impl.h | |
13 m4/wcsncpy.m4 | |
14 | |
15 Depends-on: | |
16 wchar | |
17 | |
18 configure.ac: | |
19 gl_FUNC_WCSNCPY | |
20 gl_WCHAR_MODULE_INDICATOR([wcsncpy]) | |
21 | |
22 Makefile.am: | |
23 | |
24 Include: | |
25 <wchar.h> | |
26 | |
27 License: | |
28 LGPL | |
29 | |
30 Maintainer: | |
31 Bruno Haible |