Hash :
a7adefb5
Author :
Date :
2023-07-16T07:30:50
mbswidth: Optimize clearing an mbstate_t. * lib/mbswidth.c (mbsnwidth): Use mbszero. * modules/mbswidth (Depends-on): Add mbszero.
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39
Description:
Determine the number of screen columns needed for a string.
Files:
lib/mbswidth.h
lib/mbswidth.c
m4/mbstate_t.m4
m4/mbrtowc.m4
m4/mbswidth.m4
Depends-on:
wchar
uchar
mbrtoc32
mbsinit
mbszero
c32width
c32iscntrl
extensions
configure.ac:
gl_MBSWIDTH
Makefile.am:
lib_SOURCES += mbswidth.h mbswidth.c
Include:
"mbswidth.h"
Link:
$(LTLIBUNISTRING) when linking with libtool, $(LIBUNISTRING) otherwise
$(MBRTOWC_LIB)
$(LTLIBC32CONV) when linking with libtool, $(LIBC32CONV) otherwise
License:
GPL
Maintainer:
all