view modules/mbssep @ 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:
mbssep() function: split string into tokens, thread safe.

Files:
lib/mbssep.c

Depends-on:
mbuiter
string
mbspbrk
strsep

configure.ac:
gl_STRING_MODULE_INDICATOR([mbssep])

Makefile.am:
lib_SOURCES += mbssep.c

Include:
<string.h>

License:
LGPL

Maintainer:
Bruno Haible