DPMSCapable (3) Linux Manual Page
DPMSCapable – returns the DPMS capability of the X server
Synopsis
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.
