DPMSGetVersion(3) X FUNCTIONS DPMSGetVersion(3)NAME
DPMSGetVersion - returns the version of the DPMS extension implemented by the X server
SYNOPSIS
cc [ flag ... ] file ... -lXext [ library ... ]
#include <X11/extensions/dpms.h>
Status DPMSGetVersion
(
Display *display,
int *major_version,
int *minor_version
);
ARGUMENTS
display
Specifies the connection to the X server
major_version
Specifies the return location for the extension major version
minor_version
Specifies the return location for the extension minor version
DESCRIPTION
The DPMSGetVersion function returns the version of the Display Power Management Signaling (DPMS) extension implemented by the X server. It
returns a major and minor version number. The major version number will be incremented for protocol incompatible changes, and the minor
version number will be incremented for small, upward compatible changes.
RETURN VALUES
TRUE The DPMSGetVersion function returns TRUE when the extension is supported and values are returned.
FALSE The DPMSGetVersion function returns FALSE when the extension is not supported.
SEE ALSO DPMSCapable(3), DPMSQueryExtension(3)X Version 11 libXext 1.3.1 DPMSGetVersion(3)
Check Out this Related Man Page
DPMSGetVersion(3) X FUNCTIONS DPMSGetVersion(3)NAME
DPMSGetVersion - returns the version of the DPMS extension implemented by the X server
SYNOPSIS
cc [ flag ... ] file ... -lXext [ library ... ]
#include <X11/extensions/dpms.h>
Status DPMSGetVersion
(
Display *display,
int *major_version,
int *minor_version
);
ARGUMENTS
display
Specifies the connection to the X server
major_version
Specifies the return location for the extension major version
minor_version
Specifies the return location for the extension minor version
DESCRIPTION
The DPMSGetVersion function returns the version of the Display Power Management Signaling (DPMS) extension implemented by the X server. It
returns a major and minor version number. The major version number will be incremented for protocol incompatible changes, and the minor
version number will be incremented for small, upward compatible changes.
RETURN VALUES
TRUE The DPMSGetVersion function returns TRUE when the extension is supported and values are returned.
FALSE The DPMSGetVersion function returns FALSE when the extension is not supported.
SEE ALSO DPMSCapable(3), DPMSQueryExtension(3)X Version 11 libXext 1.1.1 DPMSGetVersion(3)
have installed a Network Management System at HP and when I tried to connect to Sun for Extractor function, it shows" incompatible protocol version:3". What does it mean? How to slove the problem?
Thanks a lot, Emily (1 Reply)
I installed 10.5 (Leopard) on my G4 733 Mhz (after minor tampering with the install package, just switched a boolean FALSE to TRUE).
Everything works fine after startup, but once I sleep the computer and wake it back up, kernel_task starts using at as much CPU runtime as it can, as in past 90%.... (0 Replies)
I have a file name version.properties with the following data:
major.version=14
minor.version=234
I'm trying to write a grep expression to only put "14" to stdout. The following is not working.
grep "major.version=(+)" version.properties
What am I doing wrong? (6 Replies)