Intermec ck1 Reference Guide
Appendix A —
µClinux System
CK1 SDK Programmer’s Reference Manual
337
• Tool Manager
• Print support
• Find and replace facilities
• Package manager, for easy installation of add-on libraries
For help using the SDK Wizard, see Chapter 1, “Installing and Using the
SDK.”
SDK.”
Supported Libraries
The libraries supported by CK1 are
µClibc, Nano-X, GDBM, pthread. To
use these libraries, you need to install the SDK.
C Library
The
µClibc are developed based on ANSI-C99 and SUSV3.
Nano-X Library
The Nano-X version that the CK1 uses is microwindows-0.87. For more
information, see Chapter 5, “Nano-X APIs.”
information, see Chapter 5, “Nano-X APIs.”
GDBM Database Library
The GDBM is supported by CK1. For the detail description, please refer
to http://www.mit.edu:8001/afs/athena.mit.edu/project/gnu/doc/html
/gdbm_toc.html.
to http://www.mit.edu:8001/afs/athena.mit.edu/project/gnu/doc/html
/gdbm_toc.html.
The following content introduces the database named GDBM, which is
included in the Esfia embedded Linux package. The gdbm is a simple
database with better performance than ndbm or dbm. The database
manages the data block with a key value. It provides New/Update, First,
Next, Fetch, and Count functions. To use the database library,
gdbmdefs.h and gdbmerrno.h should be included, and the library
libgdbm.a and libgdbm_compat.a are both required to be linked.
included in the Esfia embedded Linux package. The gdbm is a simple
database with better performance than ndbm or dbm. The database
manages the data block with a key value. It provides New/Update, First,
Next, Fetch, and Count functions. To use the database library,
gdbmdefs.h and gdbmerrno.h should be included, and the library
libgdbm.a and libgdbm_compat.a are both required to be linked.
New and Update
The function store is to store a data block with a key string. User may use
this function to create a new record or update an old record. Old record
with the same key will be replaced with newest data block.
this function to create a new record or update an old record. Old record
with the same key will be replaced with newest data block.
First and Next
The function first seeks the current record to the first record. The function
next seeks the next record. The GDBM does not provide changing record
number to any record except first record.
next seeks the next record. The GDBM does not provide changing record
number to any record except first record.