HP-UX 11i Version 2 Release Notes (October 2003)

Libraries and Programming
HP-UX C Library (libc)
Chapter 9
224
C99 Support for HP-UX System C Library (libc)
The System C Library, libc, contains a set of commonly used Application Programming
Interfaces (APIs) and also is the entry point for most system calls.
Summary of Change
As part of an effort to make HP-UX C99 standard compliant, a set of 8 new APIs have
been introduced in libc. The new APIs are as follows:
strtoll()
strtoull()
strtoumax()
strtoimax()
wcstoll()
wcstoull()
wcstoumax()
wcstoimax()
For the complete information on these new APIs, see the following manpages:
strtoimax (3C)
strtol (3C)
wcstoimax (3C)
wcstol (3C)
Impact
The new APIs will make it easier for you to convert strings to the “long long” data type.
Prior to this, APIs were available that could convert strings to type “int” and type “long.”
APIs that convert strings to type “long long” did not exist.
Compatibility
There are no known compatibility issues.
Performance
The new APIs do not in any way interfere with the performance of existing APIs.
Documentation
The following manpages, available at http://docs.hp.com, have been added or
modified:
Added:
strtoimax (3C)
wcstoimax (3C)
Modified:
strtol (3C)
wcstol (3C)
Obsolescence
Not applicable.