Linux and UNIX Man Pages

Linux & Unix Commands - Search Man Pages

xmstringinitcontext(3x) [osf1 man page]

XmStringInitContext(3X) 												   XmStringInitContext(3X)

NAME
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

XmStringGetNextComponent(3X)											      XmStringGetNextComponent(3X)

NAME
XmStringGetNextComponent - A compound string function that returns the type and value of the next component in a compound string SYNOPSIS
#include <Xm/Xm.h> XmStringComponentType XmStringGetNextComponent (context, text, tag, direction, unknown_tag, unknown_length, unknown_value) XmStringContext context; char **text; XmStringCharSet *tag; XmStringDirection *direction; XmStringComponentType *unknown_tag; unsigned short *unknown_length; unsigned char **unknown_value; DESCRIPTION
XmStringGetNextComponent returns the type and value of the next component in the compound string identified by context. It is a low-level component function. Components are returned one at a time. On return, only some output parameters will be valid; which ones can be deter- mined by examining the return status. In the case of text, tag, and direction components, only one output parameter is valid. If the return status indicates an unknown component was encountered, the font list element tag, length, and value are returned. This function allocates the space necessary to hold returned values; freeing this space is the caller's responsibility. Specifies the string context structure which was allocated by the XmStringInitContext function. Specifies a pointer to a null terminated string. Specifies a pointer to the font list element tag associated with the text. The value XmFONTLIST_DEFAULT_TAG identifies a locale text segment. Specifies a pointer to the direction of the text. Specifies a pointer to the tag of an unknown component. Specifies a pointer to the length of an unknown component. Specifies a pointer to the value of an unknown component. RETURN VALUE
Returns the type of component found. Following are the possible values: XmSTRING_COMPONENT_CHARSET This component is obsolete and remains for compatibility with previous releases. It has been replaced by XmSTRING_COMPO- NENT_FONTLIST_ELEMENT_TAG. XmSTRING_COMPONENT_FONTLIST_ELEMENT_TAG XmSTRING_COMPONENT_LOCALE_TEXT XmSTRING_COMPONENT_TAG XmSTRING_COMPONENT_TEXT XmSTRING_COMPONENT_DIRECTION XmSTRING_COMPONENT_SEPARATOR XmSTRING_COMPONENT_END XmSTRING_COMPONENT_UNKNOWN SEE ALSO
XmStringCreate(3X), XmStringInitContext(3X) XmStringGetNextComponent(3X)
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