DOC HOME SITE MAP MAN PAGES GNU INFO SEARCH
 

XmStringConcat(Xm)


XmStringConcat -- a compound string function that appends one string to another

Syntax

#include <Xm/Xm.h>

XmString XmStringConcat (s1, s2) XmString s1; XmString s2;

Description

XmStringConcat copies s2 to the end of s1 and returns a copy of the resulting compound string. The original strings are preserved. The space for the resulting compound string is allocated within the function. After using this function, free this space by calling XmStringFree.

s1
Specifies the compound string to which a copy of s2 is appended

s2
Specifies the compound string that is appended to the end of s1

Return value

Returns a new compound string.

See also

XmStringCreate(Xm) and XmStringFree(Xm).


© 2003 Caldera International, Inc. All rights reserved.
SCO OpenServer Release 5.0.7 -- 11 February 2003