| United States-English |
|
|
|
![]() |
Release Notes for HP-UX 10.30: HP 9000 Computers > Chapter 2 Major Changes for HP-UX 10.30Command Header File Changes |
|
This section contains the changes that were made to the header files in 10.30 for the following reasons:
This section describes the various headers that were changed in 10.30. Numerous function prototypes for X/Open curses were modified to match the actual implementation. The following change was made to match the actual implementation:
Refer to the libc section in Chapter 9 of this document for a description of changes to errno in errno.h. The following change was made:
In order to preserve backward compatibility when using different compilation environments where the size of an int and a long may be different, mask_t was changed to be a typedef of data type that is 32-bit in the different compilation environments. The following change was made as a defect repair:
The following change was made because ssize_t was changed to be a typedef of a long in 10.30:
<ndir.h> has been delivered on HP-UX 9.x and 10.x releases for source compatibility with legacy HP-UX applications. This file will be delivered in /usr/old/usr/include instead of /usr/include on 10.30. It will not be delivered in a future HP-UX release. The functionality exported by <ndir.h> is superseded by the functionality provided by <dirent.h>. Applications that currently use <ndir.h> should be changed to use <dirent.h>. The following change was made:
In order to preserve backward compatibility when using different compilation environments where the size of an int and a long may be different, long structure entries were changed to be 32 bits for the different compilation environments. The following change was made as a defect repair:
The fundamental type of ptrdiff_t was changed from a signed 32-bit integer type to a signed 32-bit long. The following new interfaces were added: vsnprintfa and snprintf. For conformance to Unix95 and beyond, the following function prototype will be available:
Otherwise, this function prototype will be available:
The following change was made as a defect repair:
The following change was made as a defect repair:
The following change was made as a defect repair: For conformance to Unix95 and beyond, the following function prototype will be available:
Otherwise, this function prototype will be available:
This interface has been removed as a defect repair; it was never supported:
The following changes were made:
This section describes the header files that are obsoleted in the 10.30 release. See the section, "Obsolescence and Deprecation of APIs", in this chapter for details. Some of the changes will impact existing applications, as described in the next section. Impact Due to Addition of or Changes in Function Prototypes Existing applications that are not using a routine correctly (that is, not assigning the return value to the correct data type or passing in arguments of a type other than that expected by the routine) need to be corrected to conform to the new function prototypes. Existing C++ applications that use the old prototype will also be impacted. Impact Due to Changes in typedefs Existing C++ applications will need to be recompiled to use the new typedefs if mixing of pre-10.30 with 10.30 objects is needed. An existing application will need to be recompiled if any of the following is true:
|
||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
|
|||||||||||||||