DPMSCapable(3) X FUNCTIONS DPMSCapable(3)

DPMSCapable - returns the DPMS capability of the X server

cc [ flag ... ] file ... -lXext [ library ... ]
#include <X11/extensions/dpms.h>
Bool DPMSCapable ( Display *display );

Specifies the connection to the X server

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

The DPMSCapable function returns True if the X server is capable of DPMS.
The DPMSCapable function returns True if the X server is incapable of DPMS.
libXext 1.3.6 X Version 11