XKB FUNCTIONS XkbGetKeySyms(3x11)
NAME
XkbGetKeySyms - Obtain the symbols for a subset of the keys
in a keyboard descriptionSYNOPSIS
cc [ flag... ] file... -lX11 [ library... ]
Status XkbGetKeySyms (Display *dpy, unsigned int first,
unsigned int num, XkbDescPtr xkb); ARGUMENTS- dpy
connection to X server- first
keycode of first key to get- num
number of keycodes for which syms desired- xkb
Xkb description to be updatedDESCRIPTION
XkbGetKeySyms sends a request to the server to obtain the
set of keysyms bound to num keys starting with the key whose keycode is first. It waits for a reply and returns thekeysyms in the map.syms field of xkb. If successful, XkbGet-
KeySyms returns Success. The xkb parameter must be a pointer to a valid Xkb keyboard description.If the client map in the xkb parameter has not been allo-
cated, XkbGetKeySyms allocates and initializes it before
obtaining the symbols. If a compatible version of Xkb is not available in theserver or the Xkb extension has not been properly initial-
ized, XkbGetKeySyms returns BadAccess. If num is less than 1
or greater than XkbMaxKeyCount, XkbGetKeySyms returns Bad-
Value. If any allocation errors occur, XkbGetKeySyms returns
BadAlloc.RETURN VALUES
Success The XkbGetKeySyms function returns Success if
it gets a reply to a request to the server to obtain the set of keysyms bound to num keys starting with the key whose keycode is first. DIAGNOSTICSBadAccess The Xkb extension has not been properly ini-
tialized X Version 11 Last change: libX11 1.3.5 1XKB FUNCTIONS XkbGetKeySyms(3x11)
BadAlloc Unable to allocate storage BadValue An argument is out of rangeATTRIBUTES
See attributes(5) for descriptions of the following attri-
butes:____________________________________________________________
| ATTRIBUTE TYPE | ATTRIBUTE VALUE |
|_____________________________|_____________________________|
| Availability | x11/library/libx11 ||_____________________________|_____________________________|
| Interface Stability | Committed ||_____________________________|_____________________________|
| MT-Level | See XInitThreads(3X11) |
|_____________________________|_____________________________|
X Version 11 Last change: libX11 1.3.5 2