XmStringCompare(3X) UNIX System V XmStringCompare(3X)
NAME
XmStringCompare - a compound string function that compares two strings.
SYNOPSIS
#include <Xm/Xm.h>
Boolean XmStringCompare (s1, s2)
XmString s1;
XmString s2;
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, directions, and separators. If character sets are specified,
they must be equal as well. In general, if two compound strings are
created with the same (char *) string using XmStringCreateSimple 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
character set other than XmSTRING_DEFAULT_CHARSET using XmStringCreate,
the strings compare as equal. The result of comparing a compound string
created with XmStringCreate against a compound string created with
XmStringCreateSimple is undefined.
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 XmStringCreateSimple(3X).
10/89 Page 1