DOC HOME SITE MAP MAN PAGES GNU INFO SEARCH
 

XmStringLineCount(Xm)


XmStringLineCount -- a compound string function that returns the number of separators plus one in the provided compound string

Syntax

#include <Xm/Xm.h>

int XmStringLineCount (string) XmString string;

Description

XmStringLineCount returns the number of separators plus one in the provided compound string. In effect, it counts the lines of text.

string
Specifies the string.

Return value

Returns the number of lines in the compound string

See also

XmStringCreate(Xm)
© 2003 Caldera International, Inc. All rights reserved.
SCO OpenServer Release 5.0.7 -- 11 February 2003