SysTutorials

Linux Manual Pages › Section 3

xkbfreekeyboard(3)

XkbFreeKeyboard – Destroys either an entire XkbDescRec or just some of its members

Synopsis

void XkbFreeKeyboard (XkbDescPtr xkb, unsigned int which, Bool free_all);
     

Arguments

xkb
keyboard description with components to free
which
mask selecting components to free
free_all
True => free all components and xkb

Description

XkbFreeKeyboard frees the components of xkb specified by which and sets the corresponding values to NULL. If free_all is True, XkbFreeKeyboard frees every non-NULL component of xkb and then frees the xkb structure itself.

If kbd is NULL, no operation is performed.

See Also

XkbFreeClientMap(3), XkbFreeServerMap(3), XkbFreeCompatMap(3), XkbFreeIndicatorMaps(3), XkbFreeNames(3), XkbFreeGeometry(3), XkbFreeControls(3)