DOC HOME SITE MAP MAN PAGES GNU INFO SEARCH PRINT BOOK
 

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)
© 2005 The SCO Group, Inc. All rights reserved.
SCO OpenServer Release 6.0.0 -- 26 May 2005