logo
Free, Micro AI Code Reviews That Run on Git Commit
git-lrc git-lrc GitHub Install Now We'd appreciate a star git-lrc - Free, Micro AI Code Reviews That Run on Git Commit | Product Hunt git-lrc - Free, Micro AI Code Reviews That Run on Git Commit | Product Hunt

XmStringLineCount — A compound string function that returns the number of separators plus one in the

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

Name

XmStringLineCount  —  A  compound  string  function that returns the number of separators plus one in the
       provided compound string "XmStringLineCount" "compound string functions" "XmStringLineCount"

Return

       Returns  the number of lines in the compound string.  If string is empty, the function returns 1. If NULL
       is passed into string, the function returns 0 (zero).

Synopsis

       #include <Xm/Xm.h>
       intXmStringLineCount(
       XmStringstring);

See Also