XmStringConcat(library call) XmStringConcat(library call)

XmStringConcat — A compound string function that appends one string to another

#include <Xm/Xm.h>
XmString XmStringConcat(
XmString s1,
XmString s2);

XmStringConcat copies s2 to the end of s1 and returns a copy of the resulting compound string. The original strings are preserved. The function will allocate space to hold the returned compound string. The application is responsible for managing the allocated space. The application can recover the allocated space by calling XmStringFree.

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

Returns a new compound string.

XmStringCreate(3) and XmStringFree(3).