From 8c4d0fbf4c45df8e86acbb338b154930c5498dc3 Mon Sep 17 00:00:00 2001 From: Bruno Haible Date: Tue, 16 May 2023 02:02:13 +0200 Subject: doc: New chapter "Strings and Characters". * doc/strings.texi: New file. * doc/gnulib.texi (POSIXURL): New variable. (posixheader, posixfunc, func): New macros, from GNU libunistring's documentation. Include strings.texi. (Particular Modules): Don't include c-locale.texi here. * doc/c-locale.texi: Sections become subsections, subsections become subsubsections. * doc/posix-functions/isalnum.texi: Mention c32isalnum. * doc/posix-functions/isalpha.texi: Mention c32isalpha. * doc/posix-functions/isblank.texi: Mention c32isblank. * doc/posix-functions/iscntrl.texi: Mention c32iscntrl. * doc/posix-functions/isdigit.texi: Mention c32isdigit. * doc/posix-functions/isgraph.texi: Mention c32isgraph. * doc/posix-functions/islower.texi: Mention c32islower. * doc/posix-functions/isprint.texi: Mention c32isprint. * doc/posix-functions/ispunct.texi: Mention c32ispunct. * doc/posix-functions/isspace.texi: Mention c32isspace. * doc/posix-functions/isupper.texi: Mention c32isupper. * doc/posix-functions/isxdigit.texi: Mention c32isxdigit. * doc/posix-functions/tolower.texi: Mention alternative APIs. * doc/posix-functions/toupper.texi: Likewise. * doc/posix-functions/towlower.texi: Mention c32tolower. * doc/posix-functions/towupper.texi: Mention c32toupper. * doc/posix-functions/wcswidth.texi: Mention c32swidth. * doc/posix-functions/wcwidth.texi: Mention c32width. --- doc/posix-functions/isalnum.texi | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) (limited to 'doc/posix-functions/isalnum.texi') diff --git a/doc/posix-functions/isalnum.texi b/doc/posix-functions/isalnum.texi index b538d199c1..422b55d193 100644 --- a/doc/posix-functions/isalnum.texi +++ b/doc/posix-functions/isalnum.texi @@ -21,7 +21,7 @@ Portability problems not fixed by Gnulib: Note: This function's behaviour depends on the locale, but does not support the multibyte characters that occur in strings in locales with @code{MB_CUR_MAX > 1} (this includes all the common UTF-8 locales). -There are four alternative APIs: +There are five alternative APIs: @table @code @item c_isalnum @@ -34,6 +34,12 @@ order to use it, you first have to convert from multibyte to wide characters, using the @code{mbrtowc} function. It is provided by the Gnulib module @samp{wctype}. +@item c32isalnum +This function operates in a locale dependent way, on 32-bit wide characters. +In order to use it, you first have to convert from multibyte to 32-bit wide +characters, using the @code{mbrtoc32} function. It is provided by the +Gnulib module @samp{c32isalnum}. + @item mb_isalnum This function operates in a locale dependent way, on multibyte characters. It is provided by the Gnulib module @samp{mbchar}. -- cgit v1.2.1