GSP
Quick Navigator

Search Site

Unix VPS
A - Starter
B - Basic
C - Preferred
D - Commercial
MPS - Dedicated
Previous VPSs
* Sign Up! *

Support
Contact Us
Online Help
Handbooks
Domain Status
Man Pages

FAQ
Virtual Servers
Pricing
Billing
Technical

Network
Facilities
Connectivity
Topology Map

Miscellaneous
Server Agreement
Year 2038
Credits
 

USA Flag

 

 

Man Pages
XmStringConcatAndFree(3) FreeBSD Library Functions Manual XmStringConcatAndFree(3)

XmStringConcatAndFree — A compound string function that appends one string to another and frees the original strings

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

XmStringConcatAndFree copies s2 to the end of s1 and returns a copy of the resulting compound string. The original strings are freed. 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.
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

The XmStringConcatAndFree function works like the XmStringConcat function, except that it frees the s1 and s2 strings, and is therefore more efficient. You should use XmStringConcatAndFree instead of XmStringConcat if you want s1 and s2 to be freed afterwards.

Returns a new compound string.

XmStringConcat(3), XmStringCreate(3), and XmStringFree(3).

Search for    or go to Top of page |  Section 3 |  Main Index

Powered by GSP Visit the GSP FreeBSD Man Page Interface.
Output converted with ManDoc.