1
0
mirror of https://git.savannah.gnu.org/git/gnulib.git synced 2025-08-08 17:22:05 +03:00
Files
gnulib/modules/btowc
Bruno Haible fae9498888 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.
2024-12-27 23:43:27 +01:00

40 lines
727 B
Plaintext

Description:
btowc() function: convert unibyte character to wide character.
Files:
lib/btowc.c
m4/btowc.m4
m4/mbrtowc.m4
m4/locale-en.m4
m4/locale-fr.m4
m4/codeset.m4
Depends-on:
wchar-h
mbszero [test $HAVE_BTOWC = 0 || test $REPLACE_BTOWC = 1]
mbrtowc [test $HAVE_BTOWC = 0 || test $REPLACE_BTOWC = 1]
mbtowc [test $HAVE_BTOWC = 0 || test $REPLACE_BTOWC = 1]
configure.ac:
gl_FUNC_BTOWC
gl_CONDITIONAL([GL_COND_OBJ_BTOWC],
[test $HAVE_BTOWC = 0 || test $REPLACE_BTOWC = 1])
AM_COND_IF([GL_COND_OBJ_BTOWC], [
gl_PREREQ_BTOWC
])
gl_WCHAR_MODULE_INDICATOR([btowc])
Makefile.am:
if GL_COND_OBJ_BTOWC
lib_SOURCES += btowc.c
endif
Include:
<wchar.h>
License:
LGPLv2+
Maintainer:
all