---
name: "xosd_get_number_lines"
section: "3"
platform: "linux"
package: "xosd"
version: "2.2.14-12"
release: "Arch Linux 2026-11-01"
platforms: ["linux"]
url: "https://new.carta.tech/xosd_get_number_lines"
---

# xosd\_get\_number\_lines(3)

Retrieve the number of lines the xosd object was initialized to display

## NAME

xosd\_get\_number\_lines - Retrieve the number of lines the xosd object  was initialized to display

## SYNOPSIS

**#include \<xosd.h\>**

**int xosd\_get\_number\_lines(xosd\*** *osd***);**

## DESCRIPTION

**xosd\_get\_number\_lines** will get the number of lines the xosd object was initialized to display.

## ARGUMENTS

- *osd*

  The on-screen display object to act on.

## SEE ALSO

**xosd\_init**(3).
