XkbAllocIndicatorMaps(3) XKB FUNCTIONS XkbAllocIndicatorMaps(3)

# [NAME](#NAME)

XkbAllocIndicatorMaps - Allocates, directly, the *indicators* member of the keyboard description record

# [SYNOPSIS](#SYNOPSIS)

**Status XkbAllocIndicatorMaps** **(variable\_type \*xkb);**

# [ARGUMENTS](#ARGUMENTS)

[*xkb*](#xkb)

keyboard description structure

# [DESCRIPTION](#DESCRIPTION)

The *xkb* parameter must point to a valid keyboard description. If it doesn't, *XkbAllocIndicatorMaps* returns a BadMatch error. Otherwise, *XkbAllocIndicatorMaps* allocates and initializes the *indicators* member of the keyboard description record and returns Success. If *XkbAllocIndicatorMaps* was unable to allocate the indicators record, it reports a BadAlloc error.

# [RETURN VALUES"](#RETURN_VALUES_)

[Success](#Success)

The *XkbAllocIndicatorMaps* function returns Success if it is successful in allocating and initializing the *indicators* member of the keyboard description record.

# [DIAGNOSTICS](#DIAGNOSTICS)

[**BadMatch**](#BadMatch)

A compatible version of Xkb was not available in the server or an argument has correct type and range, but is otherwise invalid

[**BadAlloc**](#BadAlloc)

Unable to allocate storage

libX11 1.8.14 X Version 11

---

Document: XkbAllocIndicatorMaps(3) from libx11 1.8.14-r2 (Chainguard OS)
Source: https://gitlab.freedesktop.org/xorg/lib/libx11.git
