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

FreeBSD Manual Pages

  
 
  

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

NAME
     XmStringCreateSimple  -- A compound string function that creates a compound
     string in the language environment of a widget

SYNOPSIS
     #include <Xm/Xm.h>
     XmString XmStringCreateSimple(
     char * text);

DESCRIPTION
     NOTE: This routine is obsolete and exists for compatibility  with	previous
     releases. It has been replaced by XmStringCreateLocalized.

     XmStringCreateSimple  creates a compound string with a text component and a
     charset tag.  It derives the character set from the current language  envi-
     ronment.

     The  routine  attempts to derive a character set from the value of the LANG
     environment variable.  If this does not result in a  valid  character  set,
     the  routine  uses a vendor-specific default.  If the vendor has not speci-
     fied a different value, this default is ISO8859-1.

     The function will allocate space to hold the returned compound string.  The
     application is responsible for managing the allocated space.  The	applica-
     tion can recover the allocated space by calling XmStringFree.

     text      Specifies  a NULL-terminated string to be used as the text compo-
	       nent of the compound string.

RETURN
     Returns a new compound string.

RELATED
     XmStringCreate(3) and XmStringCreateLocalized(3).

							 XmStringCreateSimple(3)

Want to link to this manual page? Use this URL:
<https://man.freebsd.org/cgi/man.cgi?query=XmStringCreateSimple&sektion=3&manpath=FreeBSD+Ports+15.1.quarterly>

home | help