XkbAllocKeyboard man page on OpenIndiana

Man page or keyword search:  
man Server   20441 pages
apropos Keyword Search (all sections)
Output format
OpenIndiana logo
[printable version]

XkbAllocKeyboard(3x11)		 XKB FUNCTIONS		XkbAllocKeyboard(3x11)

NAME
       XkbAllocKeyboard -  Creates a keyboard description from scratch

SYNOPSIS
       cc [ flag... ] file... -lX11 [ library... ]

       XkbDescRec XkbAllocKeyboard (void);

DESCRIPTION
       Applications  seldom  need to directly allocate a keyboard description;
       calling XkbGetKeyboard usually suffices. In the event you need to  cre‐
       ate  a keyboard description from scratch, however, use XkbAllocKeyboard
       rather than directly calling malloc.

       If XkbAllocKeyboard fails to  allocate  the  keyboard  description,  it
       returns	NULL.	Otherwise,  it	returns a pointer to an empty keyboard
       description structure. The device_spec field will have been initialized
       to  XkbUseCoreKbd. You may then either fill in the structure components
       or use Xkb functions to obtain values for the structure components from
       a keyboard device.

SEE ALSO
       malloc(3F), XkbUseCoreKbd(3x11), XkbGetKeyboard(3x11)

ATTRIBUTES
       See attributes(5) for descriptions of the following attributes:

       ┌─────────────────────────────┬─────────────────────────────┐
       │      ATTRIBUTE TYPE	     │	    ATTRIBUTE VALUE	   │
       ├─────────────────────────────┼─────────────────────────────┤
       │Availability		     │x11/library/libx11	   │
       ├─────────────────────────────┼─────────────────────────────┤
       │Interface Stability	     │Committed			   │
       ├─────────────────────────────┼─────────────────────────────┤
       │MT-Level		     │See XInitThreads(3X11)	   │
       └─────────────────────────────┴─────────────────────────────┘

X Version 11			 libX11 1.3.5		XkbAllocKeyboard(3x11)
[top]

List of man pages available for OpenIndiana

Copyright (c) for man pages and the logo by the respective OS vendor.

For those who want to learn more, the polarhome community provides shell access and support.

[legal] [privacy] [GNU] [policy] [cookies] [netiquette] [sponsors] [FAQ]
Tweet
Polarhome, production since 1999.
Member of Polarhome portal.
Based on Fawad Halim's script.
....................................................................
Vote for polarhome
Free Shell Accounts :: the biggest list on the net