New module 'wcsnlen'.
authorBruno Haible <bruno@clisp.org>
Sat, 5 Feb 2011 12:45:22 +0000 (13:45 +0100)
committerBruno Haible <bruno@clisp.org>
Mon, 7 Feb 2011 22:36:03 +0000 (23:36 +0100)
commit28fef9da8362f44f2afa96429f23977080f4f4b9
tree9a00fe1e89bc7bbdbab30a4d13d2310d2a4cf130
parent023cc5f089abb144d32c9b28f92366d04f06423d
New module 'wcsnlen'.

* modules/wcsnlen: New file.
* lib/wchar.in.h (wcsnlen): New declaration.
* lib/wcsnlen.c: New file.
* lib/wcsnlen-impl.h: New file, from libutf8 with modifications.
* m4/wcsnlen.m4: New file.
* m4/wchar_h.m4 (gl_WCHAR_H): Test whether wcsnlen is declared.
(gl_WCHAR_H_DEFAULTS): Initialize GNULIB_WCSNLEN, HAVE_WCSNLEN.
* modules/wchar (Makefile.am): Substitute GNULIB_WCSNLEN, HAVE_WCSNLEN.
* tests/test-wchar-c++.cc: Test the declaration of wcsnlen.
* doc/posix-functions/wcsnlen.texi: Mention the new module.
ChangeLog
doc/posix-functions/wcsnlen.texi
lib/wchar.in.h
lib/wcsnlen-impl.h [new file with mode: 0644]
lib/wcsnlen.c [new file with mode: 0644]
m4/wchar_h.m4
m4/wcsnlen.m4 [new file with mode: 0644]
modules/wchar
modules/wcsnlen [new file with mode: 0644]
tests/test-wchar-c++.cc