[Contents] [index] [Help] [Retrace] [browse <] [Browse >]

The international string functions in utility library are a way to make
use of a future localization library which Amiga, Inc. will provide.
When the localization library is opened, the functions will be replaced by
ones which will take the locale as defined by the user into account. This
means that the compare order may change according to the locale, so care
should be taken not to rely on obtaining specific compare sequences.

Currently implemented are:

  _______________________________________________________________
 |                                                               |
 |  stricmp()  compare string case-insensitive.                  |
 | strnicmp()  compare string case-insensitive, with a specified |
 |             length.                                           |
 |  tolower()  convert a character to lower case.                |
 |  toupper()  convert a character to upper case.                |
 |_______________________________________________________________|

    Table 37-4: Utility Library International String Functions


These functions operate in the same manner as their ANSI C equivalents,
for the most part.  For more information, see the "utility library"
Autodocs in the Amiga ROM Kernel Reference Manual: Includes and Autodocs.
Here is a simple example of the usage of the international string
functions.

     istr.c