Hash :
28fef9da
Author :
Date :
2011-02-05T13:45:22
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.
Description:
wcsnlen() function: determine the length of a size-bounded wide string.
Files:
lib/wcsnlen.c
lib/wcsnlen-impl.h
m4/wcsnlen.m4
Depends-on:
wchar
configure.ac:
gl_FUNC_WCSNLEN
gl_WCHAR_MODULE_INDICATOR([wcsnlen])
Makefile.am:
Include:
<wchar.h>
License:
LGPL
Maintainer:
Bruno Haible