1
0
mirror of https://https.git.savannah.gnu.org/git/gnulib.git synced 2026-09-01 02:34:55 +00:00
Files
gnulib/modules/btowc
T
Bruno Haible c05bdfe0d5 btowc: Optimize clearing an mbstate_t.
* lib/btowc.c (btowc): Use mbszero.
* modules/btowc (Depends-on): Add mbszero.
2023-07-16 10:29:19 +02:00

39 lines
709 B
Plaintext

Description:
btowc() function: convert unibyte character to wide character.
Files:
lib/btowc.c
m4/btowc.m4
m4/mbrtowc.m4
m4/locale-fr.m4
m4/codeset.m4
Depends-on:
wchar
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