HP-UX Reference (11i v2 07/12) - 5 Miscellaneous (vol 9)

l
libcres.a(5) libcres.a(5)
NAME
libcres.a - a subset of functions from libc.a
DESCRIPTION
The libcres.a library is an archive of selected functions from
libc which are leaf functions that do not
use shared data. This library provides applications with the ability to call those overhead-sensitive func-
tions more efficiently than would be possible if those functions were in a shared library.
The
libcres.a usage model has changed significantly for HP-UX 11i Version 1.5. In the previous HP-
UX 11i release, libcres.a needs to be explicitly linked with an application by the linker option
-
lcres
.
On the other hand, in HP-UX 11i Version 1.5, the linking with
libcres.a is handled automatically when
application includes the appropriate header files. It is required to include the relevant header files to take
advantage of the library. When the header files are not included,
libcres routines are not linked in,
even if this library is explicitly linked. It is unnecessary to explicitly link the
libcres.a library with an
application by the linker option
-lcres, though it is harmless.
WARNINGS
The contents of this library are subject to change in future releases.
SEE ALSO
HP-UX Linker and Libraries User’s Guide
The
+help option in the ld command starts the help window, HP-UX Linker and
Libraries Online User Guide (see ld(1)).
System Tools
chatr(1) change program’s internal attributes
fastbind(1) invoke the fastbind tool
ld(1) invoke the link editor
HP-UX 11i Version 2: December 2007 Update 1 Hewlett-Packard Company 205