Linux and UNIX Man Pages

Linux & Unix Commands - Search Man Pages

dpmsinfo(3) [x11r4 man page]

DPMSInfo(3)							    X FUNCTIONS 						       DPMSInfo(3)

NAME
DPMSInfo - returns information about the current DPMS state SYNOPSIS
cc [ flag ... ] file ... -lXext [ library ... ] #include <X11/extensions/dpms.h> Status DPMSInfo ( Display *display, CARD16 *power_level, BOOL *state ); ARGUMENTS
display Specifies the connection to the X server power_level Specifies the current power level state Specifies the current DPMS state DESCRIPTION
The DPMSInfo function returns information about the current Display Power Management Signaling (DPMS) state. The state return parameter indicates whether or not DPMS is enabled (TRUE) or disabled (FALSE). The power_level return parameter indicates the current power level (one of DPMSModeOn, DPMSModeStandby, DPMSModeSuspend, or DPMSModeOff.) RETURN VALUES
TRUE The DPMSInfo function returns TRUE, if values are returned. FALSE The DPMSInfo function returns FALSE, if no values are returned. SEE ALSO
DPMSEnable(3) X Version 11 libXext 1.0.5 DPMSInfo(3)

Check Out this Related Man Page

DPMSForceLevel(3)						    X FUNCTIONS 						 DPMSForceLevel(3)

NAME
DPMSForceLevel - forces a DPMS capable display into the specified power level SYNOPSIS
cc [ flag ... ] file ... -lXext [ library ... ] #include <X11/extensions/dpms.h> Status DPMSForceLevel ( Display *display, CARD16 level ); ARGUMENTS
display Specifies the connection to the X server level Specifies the level to force power to DESCRIPTION
The DPMSForceLevel function forces a DPMS capable display into the specified power level. The level must be one of following four states: DPMSModeOn, DPMSModeStandby, DPMSModeSuspend, or DPMSModeOff. Values other than these will result in a BadValue error. If DPMS is disabled on the display, trying to set the power level on the display will result in a BadMatch protocol error. RETURN VALUES
TRUE The DPMSForceLevel function always returns TRUE. ERRORS
BadValue A level other than DPMSModeOn, DPMSModeStandby, DPMSModeSuspend, or DPMSModeOff was specified. BadMatch DPMS is disabled on the specified display. SEE ALSO
DPMSCapable(3), DPMSInfo(3), DPMSGetTimeouts(3), DPMSSetTimeouts(3) X Version 11 libXext 1.0.5 DPMSForceLevel(3)
Man Page

We Also Found This Discussion For You

1. UNIX for Advanced & Expert Users

Shopt -s histappend

What is the point of this? Whenever I close my shell it appends to the history file without adding this. I have never seen it overwrite my history file. # When the shell exits, append to the history file instead of overwriting it shopt -s histappend (3 Replies)
Discussion started by: cokedude
3 Replies