DPMSCapable(3xext) X FUNCTIONS DPMSCapable(3xext)NAMEDPMSCapable - returns the DPMS capability of the X server
SYNOPSIS
cc [ flag... ] file... -lXext [ library... ]
cc [ flag ... ] file ... -lXext [ library ... ]
#include <X11/extensions/dpms.h>
Bool DPMSCapable ( Display *display );
ARGUMENTS
display
Specifies the connection to the X server
DESCRIPTION
The DPMSCapable function returns the Display Power Management Signaling
(DPMS) capability of the X server, either TRUE (capable of DPMS) or
FALSE (incapable of DPMS).
RETURN VALUES
True The DPMSCapable function returns True if the X server is
capable of DPMS.
False The DPMSCapable function returns True if the X server is
incapable of DPMS.
ATTRIBUTES
See attributes(5) for descriptions of the following attributes:
┌─────────────────────────────┬─────────────────────────────┐
│ ATTRIBUTE TYPE │ ATTRIBUTE VALUE │
├─────────────────────────────┼─────────────────────────────┤
│Availability │x11/library/libxext │
├─────────────────────────────┼─────────────────────────────┤
│Interface Stability │Committed │
├─────────────────────────────┼─────────────────────────────┤
│MT-Level │See XInitThreads(3X11) │
└─────────────────────────────┴─────────────────────────────┘
X Version 11 libXext 1.1.2 DPMSCapable(3xext)