Hash :
c793de02
Author :
Date :
2023-09-09T17:22:19
trim: support GNULIB_MCEL_PREFER Support mcel API for apps that prefer it. The following changes are in effect only if GNULIB_MCEL_PREFER. * lib/trim.c: Include mcel.h, not mbchar.h and mbuiterf.h. (trim2): Use mcel API. * modules/trim (Depends-on): Add c32isspace.
Description:
trim() function: remove leading and/or trailing whitespaces
Files:
lib/trim.h
lib/trim.c
Depends-on:
c32isspace
mbchar
mbuiterf
mempcpy
xalloc-die
configure.ac:
Makefile.am:
lib_SOURCES += trim.c
Include:
"trim.h"
Link:
$(LTLIBUNISTRING) when linking with libtool, $(LIBUNISTRING) otherwise
$(MBRTOWC_LIB)
$(LTLIBC32CONV) when linking with libtool, $(LIBC32CONV) otherwise
License:
GPL
Maintainer:
Davide Angelocola