Jump to content United States-English
HP.com Home Products and Services Support and Drivers Solutions How to Buy
» Contact HP
More options
HP.com home
HP-UX Reference (Volume 9 of 9): Sections 5, 7, 9: Miscellaneous, Device Files, and Glossary > l

libcres.a(5)

» 

Technical documentation

Complete book in PDF
» Feedback
Content starts here

 » Table of Contents

 » Index

NAME

libcres.a — a subset of functions from libc.a

DESCRIPTION

The libcres.a library is an archive library that has functions that do not call other functions or they do not use shared data. The intent of this library is to provide a static link for API's that are performance critical applications. Linking statically with libc is not a supported method of linking an application. Any performance improvement is highly dependent on the application's use of the included functions. It is recommended that the application performance be measured before deciding on this link method.

The libcres.a library can be linked with an application with the use of the -l:libcres.a syntax as documented in ld (see ld(1)).

The contents of this library, as listed below, can and may change in future releases or patches. If a function is removed from this library, applications that are currently linked will not be affected and when re-linked, they will get the affected function from libc.sl. If a new function is added to libcres.a, currently linked applications will not be affected. However, the application will bind the new function from libcres.a instead of the same function in libc.sl.

The current interfaces in libcres.a are listed below:

abs(), bsearch(), div(), ffs(), insque(), labs(), ldiv(), memchr(), memcmp(), memcpy(), memmove(), memset(), strcat(), strchr(), strcmp(), strcpy(), strcspn(), strlen(), strncat(), strncmp(), strncpy(), strrchr(), strspn(), strstr(), swab().

WARNINGS

The above functions can not be overridden with a user-defined function of the same name (as is the case today with libc names). The user must refrain from using these names or unexpected results may occur.

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

Printable version
Privacy statement Using this site means you accept its terms Feedback to webmaster
© 1983-2000 Hewlett-Packard Development Company, L.P.