1
0
mirror of https://git.savannah.gnu.org/git/gnulib.git synced 2026-10-24 00:48:56 +03:00
Files
gnulib/doc/c-locale.texi
Bruno Haible f656293f0e c-strcasecmp, c-strncasecmp: New modules.
* modules/c-strcasecmp: New file.
* modules/c-strncasecmp: New file.
* modules/c-strcase: Merely depend on c-strcasecmp, c-strncasecmp.
* lib/strings.in.h (strcasecmp, strncasecmp): Update warning message.
* tests/test-c-strcasecmp.sh: New file, based on
tests/test-c-strcase.sh.
* tests/test-c-strncasecmp.sh: New file, based on
tests/test-c-strcase.sh.
* tests/test-c-strcase.sh: Remove file.
* modules/c-strcasecmp-tests: New file.
* modules/c-strncasecmp-tests: New file.
* modules/c-strcase-tests: Remove file.
* doc/c-strcasecmp.texi: New file, based on doc/c-strcase.texi.
* doc/c-strncasecmp.texi: New file, based on doc/c-strcase.texi.
* doc/c-strcase.texi: Remove file.
* doc/c-locale.texi: Include c-strcasecmp.texi and c-strncasecmp.texi
separately.
* modules/c-strcaseeq (Depends-on): Add c-strcasecmp. Remove c-strcase.
* modules/iconv_open (Depends-on): Likewise.
* modules/nl_langinfo-tests (Depends-on): Likewise.
* modules/propername (Depends-on): Likewise.
* modules/propername-lite (Depends-on): Likewise.
* modules/striconv (Depends-on): Likewise.
* modules/striconveh (Depends-on): Likewise.
* modules/striconveha (Depends-on): Likewise.
* modules/c-strcasestr (Depends-on): Add c-strncasecmp. Remove
c-strcase.
2025-02-16 13:45:36 +01:00

59 lines
1.1 KiB
Plaintext

@node String Functions in C Locale
@subsection Character and String Functions in C Locale
The functions in this section are similar to the generic string functions
from the standard C library, except that
@itemize
@item
They behave as if the locale was set to the "C" locale, even when the
locale is different, and/or
@item
They are specially optimized for the case where all characters are plain
ASCII characters.
@end itemize
The functions are provided by the following modules.
@menu
* c-ctype::
* c-strcaseeq::
* c-strcasecmp::
* c-strncasecmp::
* c-strcasestr::
* c-strstr::
* c-strtod::
* c-strtold::
@end menu
@node c-ctype
@subsubsection c-ctype
@include c-ctype.texi
@node c-strcaseeq
@subsubsection c-strcaseeq
@include c-strcaseeq.texi
@node c-strcasecmp
@subsubsection c-strcasecmp
@include c-strcasecmp.texi
@node c-strncasecmp
@subsubsection c-strncasecmp
@include c-strncasecmp.texi
@node c-strcasestr
@subsubsection c-strcasestr
@include c-strcasestr.texi
@node c-strstr
@subsubsection c-strstr
@include c-strstr.texi
@node c-strtod
@subsubsection c-strtod
@include c-strtod.texi
@node c-strtold
@subsubsection c-strtold
@include c-strtold.texi