SysTutorials

Linux Manual Pages › Section 3

dpmsdisable(3)

DPMSDisable – disables DPMS on the specified display

Synopsis

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

Arguments

display
Specifies the connection to the X server

Description

The DPMSDisable function disables Display Power Management Signaling (DPMS) on the specified display. When disabled, DPMS sets the display to DPMSModeOn. If DPMSDisable is invoked on a display with DPMS already disabled or on a display which does not support DPMS, no change is made and no error is returned.

Return Values

TRUE
The DPMSDisable function always returns TRUE.

See Also

DPMSCapable(3), DPMSEnable(3)