1XkbFreeGeomSections(3)           XKB FUNCTIONS          XkbFreeGeomSections(3)
2
3
4

NAME

6       XkbFreeGeomSections - Free geometry sections
7

SYNOPSIS

9       void  XkbFreeGeomSections  (XkbGeometryPtr  geom, int first, int count,
10              Bool free_all);
11

ARGUMENTS

13       - geom geometry in which sections should be freed
14
15       - first
16              first section to be freed
17
18       - count
19              number of sections to be freed
20
21       - free_all
22              True => all sections are freed
23

DESCRIPTION

25       Xkb provides a number of functions to allocate and  free  subcomponents
26       of  a  keyboard  geometry. Use these functions to create or modify key‐
27       board geometries.  Note that these functions merely allocate space  for
28       the  new  element(s), and it is up to you to fill in the values explic‐
29       itly in your code. These allocation functions increase sz_*  but  never
30       touch  num_* (unless there is an allocation failure, in which case they
31       reset both sz_* and num_* to zero). These functions return  Success  if
32       they  succeed, BadAlloc if they are not able to allocate space, or Bad‐
33       Value if a parameter is not as expected.
34
35       If free_all is True, all sections are freed regardless of the value  of
36       first  and count.  Otherwise, the number of sections specified by count
37       are freed, beginning with the section specified by first in the  speci‐
38       fied geometry.
39

RETURN VALUES

41       Success        The  XkbFreeGeomSections  function  returns Success when
42                      there are no allocation or argument errors.
43

DIAGNOSTICS

45       BadAlloc       Unable to allocate storage
46
47       BadValue       An argument is out of range
48
49
50
51X Version 11                    libX11 1.7.3.1          XkbFreeGeomSections(3)
Impressum