XkbAllocGeomSections(3)



XkbAllocGeomSections

NAME
SYNOPSIS
ARGUMENTS
DESCRIPTION
DIAGNOSTICS
SEE ALSO

NAME

XkbAllocGeomSections − Allocate geometry sections

SYNOPSIS

Status XkbAllocGeomSections

(XkbGeometryPtr geom, int num_needed);

ARGUMENTS

− geom

geometry for which sections should be allocated

− num_needed

number of new sections required

DESCRIPTION

Xkb provides a number of functions to allocate and free subcomponents of a keyboard geometry. Use these functions to create or modify keyboard geometries. Note that these functions merely allocate space for the new element(s), and it is up to you to fill in the values explicitly in your code. These allocation functions increase sz_* but never touch num_* (unless there is an allocation failure, in which case they reset both sz_* and num_* to zero). These functions return Success if they succeed, BadAlloc if they are not able to allocate space, or BadValue if a parameter is not as expected.

XkbAllocGeomSections allocates num_needed sections and adds them to the geometry geom. No initialization of the sections is done.

To free geometry sections, use XkbFreeGeomSections.

DIAGNOSTICS

BadAlloc

Unable to allocate storage

BadValue

An argument is out of range

SEE ALSO

XkbFreeGeomSections(3)



More Linux Commands

manpages/glGetMinmax.3gl.html
glGetMinmax(3gl) - get minimum and maximum pixel values.....
glGetMinmax returns the accumulated minimum and maximum pixel values (computed on a per-component basis) in a one-dimensional image of width 2. The first set of

manpages/mkdirhier.1.html
mkdirhier(1) - makes a directory hierarchy - Linux man page
The mkdirhier command creates the specified directories. Unlike mkdir if any of the parent directories of the specified directory do not exist, it creates them

manpages/COLS.3ncurses.html
COLS(3ncurses) - curses global variables - Linux man page...
This page summarizes variables provided by the curses library. A more complete description is given in the curses(3X) manual page. Depending on the configuratio

manpages/offsetof.3.html
offsetof(3) - offset of a structure member - Linux man page
The macro offsetof() returns the offset of the field member from the start of the structure type. This macro is useful because the sizes of the fields that comp

manpages/memccpy.3.html
memccpy(3) - copy memory area (Library - Linux man page)....
The memccpy() function copies no more than n bytes from memory area src to memory area dest, stopping when the character c is found. If the memory areas overlap

manpages/login.1.html
login(1) - Begin session on the system - Linux manual page
login is used when signing onto a system. If no argument is given, login prompts for the username. The user is then prompted for a password, where approprate. E

manpages/locale.conf.5.html
locale.conf(5) - configuration file for locale settings.....
The /etc/locale.conf file configures system-wide locale settings. It is read at early-boot by systemd(1). The basic file format of locale.conf is a newline-sepa

manpages/io_destroy.2.html
io_destroy(2) - destroy an asynchronous I/O context.........
The io_destroy() system call will attempt to cancel all outstanding asynchronous I/O operations against ctx_id, will block on the completion of all operations t

manpages/apropos.1.html
apropos(1) - search the manual page names and descriptions
Each manual page has a short description available within it. apropos searches the descriptions for instances of keyword. keyword is usually a regular expressio

manpages/SDL_ConvertAudio.3.html
SDL_ConvertAudio(3) - Convert audio data to a desired audio
SDL_ConvertAudio takes one parameter, cvt, which was previously initilized. Initilizing a SDL_AudioCVT is a two step process. First of all, the structure must b

manpages/Tk_ImageChanged.3.html
Tk_ImageChanged(3) - notify widgets that image needs to be r
An image manager calls Tk_ImageChanged for an image whenever anything happens that requires the image to be redrawn. As a result of calling Tk_ImageChanged, any

manpages/epoll.4.html
epoll(4) - I/O event notification facility - Linux man page
epoll is a variant of poll(2) that can be used either as an edge-triggered or a level-triggered interface and scales well to large numbers of watched file descr





We can't live, work or learn in freedom unless the software we use is free.