DOC HOME SITE MAP MAN PAGES GNU INFO SEARCH
 

XmStringCopy(Xm)


XmStringCopy -- a compound string function that makes a copy of a string

Syntax

#include <Xm/Xm.h>

XmString XmStringCopy (s1) XmString s1;

Description

XmStringCopy makes a copy of a compound string. The space for the resulting compound string is allocated within the function. The application is responsible for managing the allocated space. The memory can be recovered by calling XmStringFree.

s1
Specifies the compound string to be copied

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