XkbAllocNames - Online Linux Manual PageSection : 3
Updated : libX11 1.8.4
Source : X Version 11
Note : XKB FUNCTIONS

NAMEXkbAllocNames − Allocate symbolic names structures

SYNOPSISStatus XkbAllocNames ( XkbDescPtr xkb , unsigned int which , int num_rg , int num_key_aliases);

ARGUMENTSxkb  keyboard description for which names are to be allocated which  mask of names to be allocated num_rg  total number of radio group names needed num_key_aliases  total number of key aliases needed

DESCRIPTIONMost applications do not need to directly allocate symbolic names structures. Do not allocate a names structure directly using malloc or Xmalloc if your application changes the number of key aliases or radio groups or constructs a symbolic names structure without loading the necessary components from the X server. Instead use XkbAllocNames. XkbAllocNames can return BadAlloc, BadMatch, and BadValue errors. The which parameter is the bitwise inclusive OR of the valid names mask bits defined in Table 1. Table 1 Symbolic Names Masks Mask BitValueKeyboardField Component XkbKeycodesNameMask(1<<0)Xkb->nameskeycodes XkbGeometryNameMask(1<<1)Xkb->namesgeometry XkbSymbolsNameMask(1<<2)Xkb->namessymbols XkbPhysSymbolsNameMask(1<<3)Xkb->namesphys_symbols XkbTypesNameMask(1<<4)Xkb->namestype XkbCompatNameMask(1<<5)Xkb->namescompat XkbKeyTypeNamesMask(1<<6)Xkb->maptype[*].name XkbKTLevelNamesMask(1<<7)Xkb->maptype[*].lvl_names[*] XkbIndicatorNamesMask(1<<8)Xkb->namesindicators[*] XkbKeyNamesMask(1<<9)Xkb->nameskeys[*], num_keys XkbKeyAliasesMask(1<<10)Xkb->nameskey_aliases[*], num_key_aliases XkbVirtualModNamesMask(1<<11)Xkb->namesvmods[*] XkbGroupNamesMask(1<<12)Xkb->namesgroups[*] XkbRGNamesMask(1<<13)Xkb->namesradio_groups[*], num_rg XkbComponentNamesMask(0x3f)Xkb->nameskeycodes, geometry, symbols, physical symbols, types, and compatibility map XkbAllNamesMask(0x3fff)Xkb->namesall name components Do not free symbolic names structures directly using free or XFree. Use XkbFreeNames instead.

DIAGNOSTICSBadAlloc  Unable to allocate storage BadMatch  A compatible version of Xkb was not available in the server or an argument has correct type and range, but is otherwise invalid BadValue  An argument is out of range

SEE ALSOXkbFreeNames(3)
0
Johanes Gumabo
Data Size   :   15,559 byte
man-XkbAllocNames.3Build   :   2024-12-05, 20:55   :  
Visitor Screen   :   x
Visitor Counter ( page / site )   :   2 / 199,087
Visitor ID   :     :  
Visitor IP   :   18.189.143.150   :  
Visitor Provider   :   AMAZON-02   :  
Provider Position ( lat x lon )   :   39.962500 x -83.006100   :   x
Provider Accuracy Radius ( km )   :   1000   :  
Provider City   :   Columbus   :  
Provider Province   :   Ohio ,   :   ,
Provider Country   :   United States   :  
Provider Continent   :   North America   :  
Visitor Recorder   :   Version   :  
Visitor Recorder   :   Library   :  
Online Linux Manual Page   :   Version   :   Online Linux Manual Page - Fedora.40 - march=x86-64 - mtune=generic - 24.12.05
Online Linux Manual Page   :   Library   :   lib_c - 24.10.03 - march=x86-64 - mtune=generic - Fedora.40
Online Linux Manual Page   :   Library   :   lib_m - 24.10.03 - march=x86-64 - mtune=generic - Fedora.40
Data Base   :   Version   :   Online Linux Manual Page Database - 24.04.13 - march=x86-64 - mtune=generic - fedora-38
Data Base   :   Library   :   lib_c - 23.02.07 - march=x86-64 - mtune=generic - fedora.36

Very long time ago, I have the best tutor, Wenzel Svojanovsky . If someone knows the email address of Wenzel Svojanovsky , please send an email to johanes_gumabo@yahoo.co.id .
If error, please print screen and send to johanes_gumabo@yahoo.co.id
Under development. Support me via PayPal.