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

  man pages->HP-UX 11i man pages -> XmStringGetNextSegment (3)              
Title
Content
Arch
Section
 

Contents


 XmStringGetNextSegment(library call)   XmStringGetNextSegment(library call)




 NAME    [Toc]    [Back]
      XmStringGetNextSegment - A compound string function that fetches the
      bytes in the next segment of a compound string

 SYNOPSIS    [Toc]    [Back]
      #include <Xm/Xm.h>
      Boolean XmStringGetNextSegment(
      XmStringContext context,
      char **text,
      XmStringTag *tag,
      XmStringDirection *direction,
      Boolean *separator);

 DESCRIPTION    [Toc]    [Back]
      This routine is obsolete and exists for compatibility with previous
      releases. To read the contents of a compound string, read each
      component of the string with XmStringGetNextTriple. This XmString
      function returns the type, length, and value of the next component in
      the compound string.  XmStringGetNextSegment fetches the bytes in the
      next segment; repeated calls fetch sequential segments. The text, tag,
      and direction of the fetched segment are returned each time. A Boolean
      status is returned to indicate whether a valid segment was
      successfully parsed.

      If the function returns True, then the function allocates space to
      hold the returned text and tag. The application is responsible for
      managing the allocated space. The application can recover the
      allocated space by calling XtFree.

      context   Specifies the string context structure which was allocated
                by the XmStringInitContext function

      text      Specifies a pointer to a NULL-terminated string

      tag       Specifies a pointer to the font list element tag associated
                with the text

      direction Specifies a pointer to the direction of the text

      separator Specifies whether the next component of the compound string
                is a separator

 RETURN    [Toc]    [Back]
      Returns True if a valid segment is found.

 RELATED    [Toc]    [Back]
      XmStringCreate(3) and XmStringInitContext(3).


                                    - 1 -       Formatted:  January 24, 2005
[ Back ]
 Similar pages
Name OS Title
XmStringGetNextSegment IRIX A compound string function that fetches the octets in the next segment of a compound string
XmStringGetNextSegment Tru64 A compound string function that fetches the octets in the next segment of a compound string
XmStringGetLtoR Tru64 A compound string function that searches for a text segment in the input compound string
XmStringGetLtoR HP-UX A compound string function that searches for a text segment in the input compound string
XmStringGetLtoR IRIX A compound string function that searches for a text segment in the input compound string
XmStringNConcat Tru64 A compound string function that appends a specified number of bytes to a compound string
XmStringNConcat HP-UX A compound string function that appends a specified number of bytes to a compound string
XmStringNConcat IRIX A compound string function that appends a specified number of bytes to a compound string
XmCvtByteStreamToXmString HP-UX A compound string function that converts from a compound string in Byte Stream format to a compound string
XmStringInitContext Tru64 A compound string function that allows applications to read out the content segment by segment
Copyright © 2004-2005 DeniX Solutions SRL
newsletter delivery service