Linux and UNIX Man Pages

Linux & Unix Commands - Search Man Pages

xmstringinitcontext(3x) [osf1 man page]

XmStringInitContext(3X) 												   XmStringInitContext(3X)

XmStringInitContext - A compound string function that allows applications to read out the content segment by segment SYNOPSIS
#include <Xm/Xm.h> Boolean XmStringInitContext (context, string) XmStringContext * context; XmString string; DESCRIPTION
XmStringInitContext maintains a context to allow applications to read out the contents of a compound string segment by segment. This func- tion establishes the context for this read out. This context is used when reading subsequent segments out of the string. A Boolean status is returned to indicate if the input string could be parsed. Specifies a pointer to the allocated context Specifies the string. RETURN VALUE
Returns True if the context was allocated SEE ALSO
XmStringCreate(3X) XmStringInitContext(3X)

Check Out this Related Man Page

XmStringGetNextTriple(library call)									       XmStringGetNextTriple(library call)

XmStringGetNextTriple -- An XmString function that returns the type, length, and value of the next component in the compound string SYNOPSIS
#include <Xm/Xm.h> XmStringComponentType XmStringGetNextTriple( XmStringContext context, unsigned int *length, XtPointer *value); DESCRIPTION
XmStringGetNextTriple returns the type, length, and value of the next component in the compound string identified by context. This func- tion returns one component at a time. context Specifies the string context structure that was allocated by the XmStringInitContext function. length Specifies a pointer to the length of the value of the returned component. value Specifies a pointer to the value of the returned component. If the returned value is not NULL, the function allocates space to hold the returned value. When the application no longer needs the returned compound string, the application should call XtFree. RETURN
Returns the type of the component found. Refer to the XmStringComponentType(3) reference page for a list of component types. RELATED
XmDirection(3), XmString(3), XmStringComponentType(3), XmStringGetNextComponent(3), and XmStringPeekNextTriple(3). XmStringGetNextTriple(library call)
Man Page

We Also Found This Discussion For You

1. What is on Your Mind?

Throw my Toys out of the Pram!

Hi Folks, Today hasn't been the best one of my career in IT. I've been a contractor for a major utility company for a number of years, on a number of seperate IT contracts mostly Unix. The company had 10 different flavours of unix and multiple different varsions of most of them. At the... (3 Replies)
Discussion started by: gull04
3 Replies