XmStringCopy(X3mot)


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

Synopsis

#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 values

Returns a new compound string.

References

XmStringCreate(X3mot) and XmStringFree(X3mot).


25 April 2004
© 2004 The SCO Group, Inc. All rights reserved.
UnixWare 7 Release 7.1.4 - 25 April 2004