Unix/Linux Go Back    

RedHat 9 (Linux i386) - man page for xmstringconcatandfree (redhat section 3)

Linux & Unix Commands - Search Man Pages
Man Page or Keyword Search:   man
Select Man Page Set:       apropos Keyword Search (sections above)

XmStringConcatAndFree(library call)			      XmStringConcatAndFree(library call)

       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  com-
       pound  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  XmStringCon-
       catAndFree 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).

							      XmStringConcatAndFree(library call)
Unix & Linux Commands & Man Pages : ©2000 - 2018 Unix and Linux Forums

All times are GMT -4. The time now is 12:45 PM.