Contact Us Contact Us

LibcEnhancement

  Software Depot
Electronic download
Frequently asked questions
Product details and specifications
Select
Overview

This product provides a new set of APIs which are extension to libc.

Features and Benefits: 

  • memsetU16(3C) API could be used to perform memory operation on 2-byte words, which is currently is not present in libc.
  • Decimal floating support in strtod32(3C), strtod64(3C), strtod128(3C), printf(3S) and scanf(3S) family of functions.
  • iticks_gettimes(3C), iticks_to_timespec(3C) and iticks_to_hrtime(3C) APIs provides fast and accurate method to get instantaneous thread time consumption statistics for bound threads.

Note:

The memsetU16(3C) API  is available only on HP-UX 11iv3 IA/PA platform.

 

The Decimal floating point support is available only on Itanium ® based systems running on HP-UX 11iv3 Operating system.

 

The iticks family of APIs is available on both HP-UX 11iv2 and HP-UX 11iv3 Operating systems.



For decimal floating point feature to work, Users will need to:

1.       Install the libc patch PHCO_38048.

2.       Install the AR0809 C compiler.

3.       Include the header strtodec.h

4.       Build the application with the new C compiler option +Decfp. 

It is recommended to install the libc man page patch PHCO_37128, which has man page changes for decimal floating point feature in printf(3S) and scanf(3S) family of functions. 

The Product contains:
A library libcEnh which provides a new set of APIs on HP-UX systems. 

LibcEnhancement contains:

1. libcEnh library:
This library contains new set of APIs for both 32-bit and 64-bit environments on HP-UX systems. 

2. utf16char.h header file:
The header file has function prototypes of API. 

3. strtodec.h header file:
The header file has function prototypes of decimal floating point related APIs. 

4. iticks.h header file:
The header file has function prototypes of iticks related APIs. 

5. utf16char(3C) man page:
The man page explains the usage, basic functionality and the restrictions of the API. 

6. strtod32(3C), strtod64(3C), strtod128(3C) man pages:
The man pages explains the usage, basic functionality and the restrictions of the decimal floating point related APIs.

7. iticks(3C), iticks_gettimes(3C), iticks_to_timespec(3C) and iticks_to_hrtime(3C) man pages:
The man pages explains the usage, basic functionality and the restrictions of the APIs. 

 
Additional product information
Product #: LibcEnh
Version: B.11.23.0.1, B.11.31.0910.01
Software specification: HP-UX 11.31 IA/PA
HP-UX 11.23 IA/PA
Installation
Select