XmStringCompare(3X)
NAME
XmStringCompare − A compound string function that compares two strings
SYNOPSIS
#include <Xm/Xm.h>
Boolean XmStringCompare (s1, s2)
XmStrings1;
XmStrings2;
DESCRIPTION
XmStringCompare returns a Boolean value indicating the results of a semantically equivalent comparison of two compound strings.
Semantically equivalent means that the strings have the same text components, font list element tags, directions, and separators. In general, if two compound strings are created with the same (char *) string using XmStringCreateLocalized 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 XmFONTLIST_DEFAULT_TAG using XmStringCreate, the strings compare as equal.
s1Specifies a compound string to be compared with s2
s2Specifies 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).
Hewlett-Packard Company — Motif Release 1.2: May 1992