Unix/Linux Go Back    

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

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

XmStringGetNextSegment(library call)			     XmStringGetNextSegment(library call)

       XmStringGetNextSegment  --  A  compound string function that fetches the bytes in the next
       segment of a compound string

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

       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 XmStringGetNext-
       Triple. 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 seg-
       ment are returned each time. A Boolean status is returned to indicate whether a valid seg-
       ment 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  XmStringInit-
		 Context 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

       Returns True if a valid segment is found.

       XmStringCreate(3) and XmStringInitContext(3).

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

All times are GMT -4. The time now is 12:56 AM.