*nix Documentation Project
·  Home
 +   man pages
·  Linux HOWTOs
·  FreeBSD Tips
·  *niX Forums

  man pages->Tru64 Unix man pages -> XmStringByteCompare (3X)              
Title
Content
Arch
Section
 

XmStringByteCompare(3X)

Contents


NAME    [Toc]    [Back]

       XmStringByteCompare  -  A  compound  string  function that
       indicates the results of a byte-by-byte comparison

SYNOPSIS    [Toc]    [Back]

       #include <Xm/Xm.h>

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

DESCRIPTION    [Toc]    [Back]

       XmStringByteCompare  returns  a  Boolean  indicating   the
       results  of  a  byte-by-byte  comparison  of  two compound
       strings.

       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  set
       other  than  XmFONTLIST_DEFAULT_TAG  using XmStringCreate,
       the strings compare as equal.

       In some cases, once a compound string is put into  a  widget,
  that  string  is  converted into an internal form to
       allow faster processing.  Part of the  conversion  process
       strips  out  unnecessary  or redundant information.  If an
       application then does an XtGetValues to  retrieve  a  compound
 string from a widget (specifically, Label and all of
       its subclasses), it is not guaranteed  that  the  compound
       string  returned  is  byte-for-byte the same as the string
       given to the  widget  originally.   Specifies  a  compound
       string  to be compared with s2 Specifies a compound string
       to be compared with s1

RETURN VALUE    [Toc]    [Back]

       Returns True if two compound strings are  identical  byteby-byte.

SEE ALSO    [Toc]    [Back]

      
      
       XmStringCreate(3X), XmStringCreateLocalized(3X)



                                          XmStringByteCompare(3X)
[ Back ]
 Similar pages
Name OS Title
XmCvtByteStreamToXmString HP-UX A compound string function that converts from a compound string in Byte Stream format to a compound string
XmCvtCTToXmString IRIX A compound string function that converts compound text to a compound string
XmCvtCTToXmString HP-UX A compound string function that converts compound text to a compound string
XmCvtCTToXmString Tru64 A compound string function that converts compound text to a compound string
XmCvtXmStringToCT Tru64 A compound string function that converts a compound string to compound text
XmCvtXmStringToCT IRIX A compound string function that converts a compound string to compound text
XmCvtXmStringToCT HP-UX A compound string function that converts a compound string to compound text
XmStringTableToXmString HP-UX A convenience function that converts a compound string table to a single compound string
XmStringGetLtoR IRIX A compound string function that searches for a text segment in the input compound string
XmCvtXmStringToByteStream HP-UX A compound string function that converts a compound string to a Byte Stream format
Copyright © 2004-2005 DeniX Solutions SRL
newsletter delivery service