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
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
14285
46d0f7a51cc0 New module 'wcsncpy'.
Bruno Haible <bruno@clisp.org>
parents:
diff changeset
1 Description:
46d0f7a51cc0 New module 'wcsncpy'.
Bruno Haible <bruno@clisp.org>
parents:
diff changeset
2 wcsncpy() function: copy a size-bounded wide string.
46d0f7a51cc0 New module 'wcsncpy'.
Bruno Haible <bruno@clisp.org>
parents:
diff changeset
3
46d0f7a51cc0 New module 'wcsncpy'.
Bruno Haible <bruno@clisp.org>
parents:
diff changeset
4 Status:
46d0f7a51cc0 New module 'wcsncpy'.
Bruno Haible <bruno@clisp.org>
parents:
diff changeset
5 obsolete
46d0f7a51cc0 New module 'wcsncpy'.
Bruno Haible <bruno@clisp.org>
parents:
diff changeset
6
46d0f7a51cc0 New module 'wcsncpy'.
Bruno Haible <bruno@clisp.org>
parents:
diff changeset
7 Notice:
46d0f7a51cc0 New module 'wcsncpy'.
Bruno Haible <bruno@clisp.org>
parents:
diff changeset
8 This module is obsolete.
46d0f7a51cc0 New module 'wcsncpy'.
Bruno Haible <bruno@clisp.org>
parents:
diff changeset
9
46d0f7a51cc0 New module 'wcsncpy'.
Bruno Haible <bruno@clisp.org>
parents:
diff changeset
10 Files:
46d0f7a51cc0 New module 'wcsncpy'.
Bruno Haible <bruno@clisp.org>
parents:
diff changeset
11 lib/wcsncpy.c
46d0f7a51cc0 New module 'wcsncpy'.
Bruno Haible <bruno@clisp.org>
parents:
diff changeset
12 lib/wcsncpy-impl.h
46d0f7a51cc0 New module 'wcsncpy'.
Bruno Haible <bruno@clisp.org>
parents:
diff changeset
13 m4/wcsncpy.m4
46d0f7a51cc0 New module 'wcsncpy'.
Bruno Haible <bruno@clisp.org>
parents:
diff changeset
14
46d0f7a51cc0 New module 'wcsncpy'.
Bruno Haible <bruno@clisp.org>
parents:
diff changeset
15 Depends-on:
46d0f7a51cc0 New module 'wcsncpy'.
Bruno Haible <bruno@clisp.org>
parents:
diff changeset
16 wchar
46d0f7a51cc0 New module 'wcsncpy'.
Bruno Haible <bruno@clisp.org>
parents:
diff changeset
17
46d0f7a51cc0 New module 'wcsncpy'.
Bruno Haible <bruno@clisp.org>
parents:
diff changeset
18 configure.ac:
46d0f7a51cc0 New module 'wcsncpy'.
Bruno Haible <bruno@clisp.org>
parents:
diff changeset
19 gl_FUNC_WCSNCPY
46d0f7a51cc0 New module 'wcsncpy'.
Bruno Haible <bruno@clisp.org>
parents:
diff changeset
20 gl_WCHAR_MODULE_INDICATOR([wcsncpy])
46d0f7a51cc0 New module 'wcsncpy'.
Bruno Haible <bruno@clisp.org>
parents:
diff changeset
21
46d0f7a51cc0 New module 'wcsncpy'.
Bruno Haible <bruno@clisp.org>
parents:
diff changeset
22 Makefile.am:
46d0f7a51cc0 New module 'wcsncpy'.
Bruno Haible <bruno@clisp.org>
parents:
diff changeset
23
46d0f7a51cc0 New module 'wcsncpy'.
Bruno Haible <bruno@clisp.org>
parents:
diff changeset
24 Include:
46d0f7a51cc0 New module 'wcsncpy'.
Bruno Haible <bruno@clisp.org>
parents:
diff changeset
25 <wchar.h>
46d0f7a51cc0 New module 'wcsncpy'.
Bruno Haible <bruno@clisp.org>
parents:
diff changeset
26
46d0f7a51cc0 New module 'wcsncpy'.
Bruno Haible <bruno@clisp.org>
parents:
diff changeset
27 License:
46d0f7a51cc0 New module 'wcsncpy'.
Bruno Haible <bruno@clisp.org>
parents:
diff changeset
28 LGPL
46d0f7a51cc0 New module 'wcsncpy'.
Bruno Haible <bruno@clisp.org>
parents:
diff changeset
29
46d0f7a51cc0 New module 'wcsncpy'.
Bruno Haible <bruno@clisp.org>
parents:
diff changeset
30 Maintainer:
46d0f7a51cc0 New module 'wcsncpy'.
Bruno Haible <bruno@clisp.org>
parents:
diff changeset
31 Bruno Haible