Branch
Hash :
fae94988
Author :
Date :
2024-12-27T23:43:27
Rename module wchar to wchar-h. * modules/wchar-h: Renamed from modules/wchar. * modules/wchar-h-tests: Renamed from modules/wchar-tests. * modules/wchar-h-c++-tests: Renamed from modules/wchar-c++-tests. * tests/test-wchar-h.c: Renamed from tests/test-wchar.c. * tests/test-wchar-h-c++.cc: Renamed from tests/test-wchar-c++.cc. * tests/test-wchar-h-c++2.cc: Renamed from tests/test-wchar-c++2.cc. * tests/test-wchar-h-c++3.cc: Renamed from tests/test-wchar-c++3.cc. * doc/posix-headers/wchar.texi: Update. * modules/* (Depends-on): Update. * modules/wchar: New file.
Description:
mbtowc() function: convert multibyte character to wide character.
Files:
lib/mbtowc.c
lib/mbtowc-impl.h
m4/mbtowc.m4
Depends-on:
stdlib-h
wchar-h [test $HAVE_MBTOWC = 0 || test $REPLACE_MBTOWC = 1]
mbszero [test $HAVE_MBTOWC = 0 || test $REPLACE_MBTOWC = 1]
mbrtowc [test $HAVE_MBTOWC = 0 || test $REPLACE_MBTOWC = 1]
configure.ac:
gl_FUNC_MBTOWC
gl_CONDITIONAL([GL_COND_OBJ_MBTOWC],
[test $HAVE_MBTOWC = 0 || test $REPLACE_MBTOWC = 1])
AM_COND_IF([GL_COND_OBJ_MBTOWC], [
gl_PREREQ_MBTOWC
])
gl_STDLIB_MODULE_INDICATOR([mbtowc])
Makefile.am:
if GL_COND_OBJ_MBTOWC
lib_SOURCES += mbtowc.c
endif
Include:
<stdlib.h>
License:
LGPLv2+
Maintainer:
all