Linux and UNIX Man Pages

Linux & Unix Commands - Search Man Pages

xmstringempty(3x) [osf1 man page]

XmStringEmpty(3X)														 XmStringEmpty(3X)

NAME
XmStringEmpty - A compound string function that provides information on the existence of non-zero length text components SYNOPSIS
#include <Xm/Xm.h> Boolean XmStringEmpty (s1) XmString s1; DESCRIPTION
XmStringEmpty returns a Boolean value indicating whether any non-zero length text components exist in the provided compound string. It returns True if there are no text segments in the string. If this routine is passed NULL as the string, it returns True. Specifies the compound string RETURN VALUE
Returns True if there are no text segments in the string. If this routine is passed NULL as the string, it returns True. SEE ALSO
XmStringCreate(3X) XmStringEmpty(3X)

Check Out this Related Man Page

XmStringGetNextSegment(library call)									      XmStringGetNextSegment(library call)

NAME
XmStringGetNextSegment -- A compound string function that fetches the bytes in the next segment of a compound string SYNOPSIS
#include <Xm/Xm.h> Boolean XmStringGetNextSegment( XmStringContext context, char **text, XmStringTag *tag, XmStringDirection *direction, Boolean *separator); DESCRIPTION
This routine is obsolete and exists for compatibility with previous releases. To read the contents of a compound string, read each compo- nent of the string with XmStringGetNextTriple. This XmString function returns the type, length, and value of the next component in the com- pound 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 man- aging 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
Returns True if a valid segment is found. RELATED
XmStringCreate(3) and XmStringInitContext(3). XmStringGetNextSegment(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