---
name: "screen_count"
section: "3"
platform: "linux"
package: "libxosd-dev"
version: "2.2.15-1"
release: "Debian 13 (Trixie)"
platforms: ["linux"]
url: "https://new.carta.tech/screen_count"
---

# screen\_count(3)

gives number of back-end screens

## NAME

screen\_count - gives number of back-end screens

## SYNOPSIS

int screen\_count(xosd \* osd)

## DESCRIPTION

screen\_count gives an integer representing the number of screens on the X11 connection

## ARGUMENTS

Takes xosd \* osd as an argument, representing the X11 connection

## RETURN VALUE

Returns nscreens, which is the number of back-end screens i.e. physical monitors or analogues

## AUTHOR

libXosd team at Western Washington University
