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:
wctob() function: convert wide character to unibyte character.
Files:
lib/wctob.c
m4/wctob.m4
m4/locale-en.m4
m4/locale-fr.m4
m4/codeset.m4
Depends-on:
wchar-h
wctomb [test $HAVE_WCTOB = 0 || test $REPLACE_WCTOB = 1]
configure.ac:
gl_FUNC_WCTOB
gl_CONDITIONAL([GL_COND_OBJ_WCTOB],
[test $HAVE_WCTOB = 0 || test $REPLACE_WCTOB = 1])
AM_COND_IF([GL_COND_OBJ_WCTOB], [
gl_PREREQ_WCTOB
])
gl_WCHAR_MODULE_INDICATOR([wctob])
Makefile.am:
if GL_COND_OBJ_WCTOB
lib_SOURCES += wctob.c
endif
Include:
<wchar.h>
License:
LGPL
Maintainer:
all