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
functions 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)).