XpGetContext(3)

XpGetContext3

Gets the current print context-id for a display connection.

Usage

cc [flag ...] file ... -lXp [library ...]

XPContext XpGetContext ( display )

Display *display;

Arguments

display

Specifies a pointer to the Display structure; returned from XOpenDisplay.

Overview

XpGetContext returns the id of the current print context associated with display. If a print context has not been set, a value of None is returned.

From libxp 1.0.4-3 in Arch Linux 2026-11-01. Parsed by carta from the page's man source.