Blob Blame History Raw
'\" t
...\" StrByA.sgm /main/9 1996/09/08 21:02:56 rws $
.de P!
.fl
\!!1 setgray
.fl
\\&.\"
.fl
\!!0 setgray
.fl			\" force out current output buffer
\!!save /psv exch def currentpoint translate 0 0 moveto
\!!/showpage{}def
.fl			\" prolog
.sy sed -e 's/^/!/' \\$1\" bring in postscript file
\!!psv restore
.
.de pF
.ie     \\*(f1 .ds f1 \\n(.f
.el .ie \\*(f2 .ds f2 \\n(.f
.el .ie \\*(f3 .ds f3 \\n(.f
.el .ie \\*(f4 .ds f4 \\n(.f
.el .tm ? font overflow
.ft \\$1
..
.de fP
.ie     !\\*(f4 \{\
.	ft \\*(f4
.	ds f4\"
'	br \}
.el .ie !\\*(f3 \{\
.	ft \\*(f3
.	ds f3\"
'	br \}
.el .ie !\\*(f2 \{\
.	ft \\*(f2
.	ds f2\"
'	br \}
.el .ie !\\*(f1 \{\
.	ft \\*(f1
.	ds f1\"
'	br \}
.el .tm ? font underflow
..
.ds f1\"
.ds f2\"
.ds f3\"
.ds f4\"
.ta 8n 16n 24n 32n 40n 48n 56n 64n 72n 
.TH "XmStringByteCompare" "library call"
.SH "NAME"
\fBXmStringByteCompare\fP \(em A compound string function that indicates the results of a byte-by-byte comparison
.iX "XmStringByteCompare"
.iX "compound string functions" "XmStringByteCompare"
.SH "SYNOPSIS"
.PP
.nf
#include <Xm/Xm\&.h>
\fBBoolean \fBXmStringByteCompare\fP\fR(
\fBXmString \fBs1\fR\fR,
\fBXmString \fBs2\fR\fR);
.fi
.SH "DESCRIPTION"
.PP
This function is obsolete and exists for compatibility with previous
releases\&.
\fBXmStringByteCompare\fP
returns a Boolean indicating the results of a byte-by-byte
comparison of two compound strings\&.
.PP
In general, if two compound strings are created with the same (\fBchar *\fR)
string using \fBXmStringCreateLocalized\fP in the same language
environment, the compound strings compare as equal\&.
If two compound strings are created with the same (\fBchar\ *\fP) string and
the same font list element tag set other than \fBXmFONTLIST_DEFAULT_TAG\fP
using \fBXmStringCreate\fP, the strings compare as
equal\&.
.PP
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
\fBXtGetValues\fP 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\&.
.IP "\fIs1\fP" 10
Specifies a compound string to be compared with \fIs2\fP
.IP "\fIs2\fP" 10
Specifies a compound string to be compared with \fIs1\fP
.SH "RETURN"
.PP
Returns True if two compound strings are identical byte-by-byte\&.
.SH "RELATED"
.PP
\fBXmStringCreate\fP(3) and
\fBXmStringCreateLocalized\fP(3)\&.
...\" created by instant / docbook-to-man, Sun 22 Dec 1996, 20:30