XmStringCompare(3X)

XmStringCompare --A compound string function that compares two strings

As shipped in IRIX 6.5.15. Unchanged since IRIX 6.5.

NAME
     XmStringCompare --A compound string function that compares two strings

SYNOPSIS
     #include <Xm/Xm.h>

     Boolean XmStringCompare (s1, s2)
          XmString  s1;
          XmString  s2;


VERSION
     This page documents version 1.2 of the Motif library.

DESCRIPTION
     XmStringCompare  returns a Boolean value indicating the results of a seman-
     tically equivalent comparison of two compound strings.

     Semantically equivalent means that the strings have the  same  text  compo-
     nents,  font list element tags, directions, and separators.  In general, if
     two compound strings are created with the same (char *)  string  using  Xm-
     StringCreateLocalized  in  the  same  language  environment,  the  compound
     strings compare as equal.  If two compound strings  are  created  with  the
     same  (char  *)  string  and  the same font list element tag other than Xm-
     FONTLIST_DEFAULT_TAG using XmStringCreate, the strings compare as equal.


     s1     Specifies a compound string to be compared with s2

     s2     Specifies a compound string to be compared with s1


RETURN VALUE
     Returns True if two compound strings are equivalent.

RELATED INFORMATION
     XmStringCreate(3X) and XmStringCreateLocalized(3X).

                                                             XmStringCompare(3X)