diff options
author | Bruno Haible <bruno@clisp.org> | 2011-02-06 04:02:48 +0100 |
---|---|---|
committer | Bruno Haible <bruno@clisp.org> | 2011-02-07 23:36:04 +0100 |
commit | 74df68b30a93d4e4d2f11615ab371b0c30d260c7 (patch) | |
tree | 9bb68b553b25b2ee80dc2af821fc0c6debe7d9e4 /lib/wcscat.c | |
parent | 49549725af344962f45720d4d332d9cf0699ebcd (diff) | |
download | gnulib-74df68b30a93d4e4d2f11615ab371b0c30d260c7.tar.gz |
New module 'wcscat'.
* modules/wcscat: New file.
* lib/wchar.in.h (wcscat): New declaration.
* lib/wcscat.c: New file.
* lib/wcscat-impl.h: New file, from libutf8 with modifications.
* m4/wcscat.m4: New file.
* m4/wchar_h.m4 (gl_WCHAR_H): Test whether wcscat is declared.
(gl_WCHAR_H_DEFAULTS): Initialize GNULIB_WCSCAT, HAVE_WCSCAT.
* modules/wchar (Makefile.am): Substitute GNULIB_WCSCAT, HAVE_WCSCAT.
* tests/test-wchar-c++.cc: Test the declaration of wcscat.
* doc/posix-functions/wcscat.texi: Mention the new module.
Diffstat (limited to 'lib/wcscat.c')
-rw-r--r-- | lib/wcscat.c | 23 |
1 files changed, 23 insertions, 0 deletions
diff --git a/lib/wcscat.c b/lib/wcscat.c new file mode 100644 index 0000000000..f0894f7375 --- /dev/null +++ b/lib/wcscat.c @@ -0,0 +1,23 @@ +/* Concatenate two wide strings. + Copyright (C) 2011 Free Software Foundation, Inc. + Written by Bruno Haible <bruno@clisp.org>, 2011. + + This program is free software: you can redistribute it and/or modify + it under the terms of the GNU General Public License as published by + the Free Software Foundation; either version 3 of the License, or + (at your option) any later version. + + This program is distributed in the hope that it will be useful, + but WITHOUT ANY WARRANTY; without even the implied warranty of + MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + GNU General Public License for more details. + + You should have received a copy of the GNU General Public License + along with this program. If not, see <http://www.gnu.org/licenses/>. */ + +#include <config.h> + +/* Specification. */ +#include <wchar.h> + +#include "wcscat-impl.h" |