Mercurial > hg > octave-lojdl > gnulib-hg
view modules/mbsrchr @ 14289:b5843d4d8441
New module 'wcscmp'.
* modules/wcscmp: New file.
* lib/wchar.in.h (wcscmp): New declaration.
* lib/wcscmp.c: New file.
* lib/wcscmp-impl.h: New file, from libutf8 with modifications.
* m4/wcscmp.m4: New file.
* m4/wchar_h.m4 (gl_WCHAR_H): Test whether wcscmp is declared.
(gl_WCHAR_H_DEFAULTS): Initialize GNULIB_WCSCMP, HAVE_WCSCMP.
* modules/wchar (Makefile.am): Substitute GNULIB_WCSCMP, HAVE_WCSCMP.
* tests/test-wchar-c++.cc: Test the declaration of wcscmp.
* doc/posix-functions/wcscmp.texi: Mention the new module.
author | Bruno Haible <bruno@clisp.org> |
---|---|
date | Sun, 06 Feb 2011 04:39:48 +0100 |
parents | 23f58a4ffca0 |
children |
line wrap: on
line source
Description: mbsrchr() function: search a string for a character, from the end. Files: lib/mbsrchr.c Depends-on: mbuiter string configure.ac: gl_STRING_MODULE_INDICATOR([mbsrchr]) Makefile.am: lib_SOURCES += mbsrchr.c Include: <string.h> License: LGPL Maintainer: Bruno Haible