Skip site navigation (1)Skip section navigation (2)

FreeBSD Manual Pages

  
 
  

home | help
XmStringConcatAndFree(3)   Library Functions Manual   XmStringConcatAndFree(3)

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

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

DESCRIPTION
       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 ap-
       plication can recover the allocated space by calling XmStringFree.

       s1	 Specifies the compound	string to which	a copy of  s2  is  ap-
		 pended

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

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

RETURN
       Returns a new compound string.

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

						      XmStringConcatAndFree(3)

NAME | SYNOPSIS | DESCRIPTION | RETURN | RELATED

Want to link to this manual page? Use this URL:
<https://www.freebsd.org/cgi/man.cgi?query=XmStringConcatAndFree&sektion=3&manpath=FreeBSD+12.0-RELEASE+and+Ports>

home | help