This manual page is for Mac OS X version 10.6.3

If you are running a different version of Mac OS X, view the documentation locally:

  • In Terminal, using the man(1) command

Reading manual pages

Manual pages are intended as a quick reference for people who already understand a technology.

  • For more information about the manual page format, see the manual page for manpages(5).

  • For more information about this technology, look for other documentation in the Apple Reference Library.

  • For general information about writing shell scripts, read Shell Scripting Primer.



XkbGetAutoResetControls(3)                      XKB FUNCTIONS                     XkbGetAutoResetControls(3)



NAME
       XkbGetAutoResetControls - Gets the current values of the auto-reset controls

SYNOPSIS
       Bool XkbGetAutoResetControls ( dpy, auto_ctrls, auto_values )
             Display * dpy ;
             unsigned int  * auto_ctrls ;
             unsigned int  * auto_values ;

ARGUMENTS
       - dpy   connection to X server

       - auto_ctrls
               specifies which bits in auto_values are relevant

       - auto_values
              1 bit => corresponding control has auto-reset on

DESCRIPTION
       You  can configure the boolean controls to automatically be enabled or disabled when a program exits.
       This capability is controlled via two masks maintained in the X server on a per-client  basis.  There
       is  no client-side Xkb data structure corresponding to these masks. Whenever the client exits for any
       reason, any boolean controls specified in the auto-reset mask are set to the corresponding value from
       the  auto-reset  values mask. This makes it possible for clients to "clean up after themselves" auto-matically, automatically,
       matically, even if abnormally terminated. The bits used in the masks correspond  to  the  EnabledCon-trols EnabledControls
       trols control bits.

       For  example, a client that replaces the keyboard bell with some other audible cue might want to turn
       off the AudibleBell control to prevent the server from also generating a sound and  avoid  cacophony.
       If  the client were to exit without resetting the AudibleBell control, the user would be left without
       any feedback at all. Setting AudibleBell in both the auto-reset mask and auto-reset values guarantees
       that the audible bell will be turned back on when the client exits.

       XkbGetAutoResetControls  backfills  auto_ctrls  and auto_values with the AutoReset control attributes
       for this particular client. It returns True if successful, and False otherwise.

RETURN VALUES
       True           The XkbGetAutoResetControls function  returns  True  when  it  successfully  backfills
                      auto_ctrls  and  auto_values with the AutoReset control attributes for this particular
                      client.

       False          The XkbGetAutoResetControls function returns False when it does not successfully back-fill backfill
                      fill auto_ctrls and auto_values with the AutoReset control attributes for this partic-ular particular
                      ular client.



X Version 11                                    libX11 1.2.1                      XkbGetAutoResetControls(3)

Reporting Problems

The way to report a problem with this manual page depends on the type of problem:

Content errors
Report errors in the content of this documentation with the feedback links below.
Bug reports
Report bugs in the functionality of the described tool or API through Bug Reporter.
Formatting problems
Report formatting mistakes in the online version of these pages with the feedback links below.

Did this document help you? Yes It's good, but... Not helpful...