XmStringLineCount(3)

XmStringLineCount3

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

Usage

#include <Xm/Xm.h>
int XmStringLineCount(
XmString string);

Overview

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

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).

Releases

7 releases since Debian 8 (Jessie); the text changed 1 time.

  1. 8–13
  2. Arch

From openmotif 2.3.8-4 in Arch Linux 2026-11-01. Parsed by carta from the page's man source.