[Contents] [Index] [Help] [Retrace] [Browse <] [Browse >]


   NAME
        GetLocaleStr -- get a standard string from a locale. (V38)

   SYNOPSIS
        string = GetLocaleStr(locale,stringNum);
        D0                    A0     D0

        strptr getlocalestr(struct locale *,ulong);

   FUNCTION
        This function returns a specific string associated with the given
        locale.

   INPUTS
        locale - a valid locale
        stringNum - the number of the string to get a pointer to. See the
                    constants defined in <libraries/locale.h> for the
                    possible values.

   RESULT
        string - a pointer to a NULL-terminated string, or NULL if the
                 requested string number was out of bounds. The returned
                 string is READ-ONLY, do NOT modify! This string pointer
                 is valid only as long as the locale remains open.

   SEE ALSO
        openlocale(), closelocale(), <libraries/locale.h>