*nix Documentation Project
·  Home
 +   man pages
·  Linux HOWTOs
·  FreeBSD Tips
·  *niX Forums

  man pages->Tru64 Unix man pages -> XmStringNCopy (3X)              
Title
Content
Arch
Section
 

XmStringNCopy(3X)

Contents


NAME    [Toc]    [Back]

       XmStringNCopy  - A compound string function that creates a
       copy of a compound string

SYNOPSIS    [Toc]    [Back]

       #include <Xm/Xm.h>

       XmString XmStringNCopy (s1, num_bytes)
               XmString s1;
               int num_bytes;

DESCRIPTION    [Toc]    [Back]

       XmStringNCopy creates a copy of s1 that contains a  specified
  number of bytes, including tags, directional indicators,
 and separators.  It then returns the resulting  compound
  string.   The  original strings are preserved.  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.

       Specifies  the  compound  string.  Specifies the number of
       bytes of s1 to copy. If this value is less than the length
       of  s1, as many bytes as possible, but possibly fewer than
       this value, will be appended to s1 such that the resulting
       string is still a valid compound string.

RETURN VALUE    [Toc]    [Back]

       Returns a new compound string.

SEE ALSO    [Toc]    [Back]

      
      
       XmStringCreate(3X), XmStringFree(3X)



                                                XmStringNCopy(3X)
[ Back ]
 Similar pages
Name OS Title
XmStringDrawImage HP-UX A compound string function that draws a compound string in an X Window and creates an image
XmStringCreateSimple IRIX A compound string function that creates a compound string in the language environment of a widget
XmStringDrawImage Tru64 A compound string function that draws a compound string in an X Window and creates an image
XmStringCreateSimple HP-UX A compound string function that creates a compound string in the language environment of a widget
XmStringCreateSimple Tru64 A compound string function that creates a compound string in the language environment of a widget
XmStringDrawImage IRIX A compound string function that draws a compound string in an X Window and creates an image
XmStringCreateLocalized IRIX A compound string function that creates a compound string in the current locale
XmStringCreateLocalized Tru64 A compound string function that creates a compound string in the current locale
XmStringCreateLocalized HP-UX A compound string function that creates a compound string in the current locale
XmCvtByteStreamToXmString HP-UX A compound string function that converts from a compound string in Byte Stream format to a compound string
Copyright © 2004-2005 DeniX Solutions SRL
newsletter delivery service