Manpage of 'XkbAllocKeyboard' on UHLU - BSD System Documentation,
Programming Reference, Manual Pages and Source Code
All manual pages         All RFC pages
Common page
for XkbAllocKeyboard
Other pages
for XkbAllocKeyboard
More pages
containing XkbAllocKeyboard

Section 3 manual page or howto for 'XkbAllocKeyboard'  

XkbAllocKeyboard(3)		 XKB FUNCTIONS		   XkbAllocKeyboard(3)



NAME
       XkbAllocKeyboard -  Creates a keyboard description from scratch

SYNOPSIS
       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(3), XkbGetKeyboard(3)





X Version 11			 libX11 1.2.1		   XkbAllocKeyboard(3)

NAME - SYNOPSIS - DESCRIPTION - SEE ALSO -  
All manual pages         All RFC pages
Common page
for XkbAllocKeyboard
Other pages
for XkbAllocKeyboard
More pages
containing XkbAllocKeyboard
A random manual page         All manual pages        All RFC pages