1DPMSGetTimeouts(3)                X FUNCTIONS               DPMSGetTimeouts(3)
2
3
4

NAME

6       DPMSGetTimeouts - retrieves the timeout values used by the X server for
7       DPMS timings
8

SYNOPSIS

10       cc [ flag ... ] file ... -lXext [ library ... ]
11       #include <X11/extensions/dpms.h>
12
13       Bool DPMSGetTimeouts
14              (
15                    Display *display,
16                    CARD16 *standby,
17                    CARD16 *suspend,
18                    CARD16 *off
19              );
20

ARGUMENTS

22       display
23              Specifies the connection to the X server
24
25       standby
26              Specifies the current standby timeout in seconds
27
28       suspend
29              Specifies the current suspend timeout in seconds
30
31       off    Specifies the current off timeout in seconds
32

DESCRIPTION

34       The DPMSGetTimeouts function retrieves the timeout values used by the X
35       server for DPMS timings.
36
37       The value standby is the amount of time of inactivity in seconds before
38       standby mode is invoked. A value of zero indicates that this  mode  has
39       been disabled.
40
41       The value suspend is the amount of time of inactivity in seconds before
42       the second level of power savings is invoked.  A value  of  zero  indi‐
43       cates that this mode has been disabled.
44
45       The value off is the amount of time of inactivity in seconds before the
46       third and final level of power savings is  invoked.  A  value  of  zero
47       indicates that this mode has been disabled.
48

RETURN VALUES

50       TRUE           The  DPMSGetTimeouts  function  returns TRUE when values
51                      are returned.
52
53       FALSE          The DPMSGetTimeouts function returns FALSE when no  val‐
54                      ues returned.
55

SEE ALSO

57       DPMSCapable(3), DPMSInfo(3), DPMSSetTimeouts(3)
58
59
60
61X Version 11                     libXext 1.3.4              DPMSGetTimeouts(3)
Impressum