icon Top 9 categories map      RocketAware > man pages >


Tips: Browse or Search all pages for efficient awareness of more than 6000 of the most popular reusable and open source applications, functions, libraries, and FAQs.

The "RKT couplings" below include links to source code, updates, additional information, advice, FAQs, and overviews.


Search all pages


By activity
Professions, Sciences, Humanities, Business, ...

User Interface
Text-based, GUI, Audio, Video, Keyboards, Mouse, Images,...

Text Strings
Conversions, tests, processing, manipulation,...

Integer, Floating point, Matrix, Statistics, Boolean, ...

Algorithms, Memory, Process control, Debugging, ...

Stored Data
Data storage, Integrity, Encryption, Compression, ...

Networks, protocols, Interprocess, Remote, Client Server, ...

Hard World
Timing, Calendar and Clock, Audio, Video, Printer, Controls...

File System
Management, Filtering, File & Directory access, Viewers, ...


RocketLink!--> Man page versions: OpenBSD FreeBSD Others

KEYCAP(3)                 OpenBSD Programmer's Manual                KEYCAP(3)

     kgetent, kgetnum, kgetflag, kgetstr - routines for accessing the keycap

     kgetent(char *bp, char *name);

     kgetnum(char *id);

     kgetflag(char *id);

     char *
     kgetstr(char *id, char *area);

     These functions extract and use capabilities from a keyboard capability
     data base, usually /usr/share/misc/keycap.pcvt, the format of which is
     described in keycap(5).

     The kgetent() function extracts the entry for keyboard mapping name into
     the buffer at bp. The bp argument should be a character buffer of size
     1024 and must be retained through all subsequent calls to kgetnum(),
     kgetflag(), and kgetstr().  The kgetent() function returns -1 if none of
     the keycap data base files could be opened, 0 if the map name given does
     not have an entry, and 1 if all goes well.

     The kgetnum() function gets the numeric value of capability id, returning
     -1 if is not given for the map.

     The kgetflag() function returns 1 if the specified capability is present
     in the map's entry, 0 if it is not.

     The kgetstr() function returns the string value of the capability id,
     places it in the buffer at area, and advances the area pointer.  The
     kgetstr() function returns NULL if the capability was not found.

     /usr/share/misc/keycap.pcvt  Keyboard capabilities database (if nothing
                                  else chosen during installation).

     kcon(1),  keycap(5)

OpenBSD 2.6                     January 3, 1993                              1

Source: OpenBSD 2.6 man pages. Copyright: Portions are copyrighted by BERKELEY
SOFTWARE DESIGN, INC., The Regents of the University of California, Massachusetts
Institute of Technology, Free Software Foundation, FreeBSD Inc., and others.

(Corrections, notes, and links courtesy of RocketAware.com)

[Detailed Topics]
FreeBSD Sources for keycap(3) functions

[Overview Topics]

Up to: Terminal I/O - low-level character based display (TTY) and keyboard routines.

RocketLink!--> Man page versions: OpenBSD FreeBSD Others

Rapid-Links: Search | About | Comments | Submit Path: RocketAware > man pages > keycap.3/
RocketAware.com is a service of Mib Software
Copyright 1999, Forrest J. Cavalier III. All Rights Reserved.
We welcome submissions and comments