HP-UX 11.0 Extension Pack includes an enhanced version of
pstat. The new pstat
repairs some existing defects, by adding more fields in pst_status struct
to return process children usage information. The pstat(2)
manpage reflects this added functionality.
The enhancement poses no problem for 11.0 executables running
on 11.0 Extension Pack, nor for any executables running on 11.0
Extension Pack, as long as they do not rely on the additional functionality.
Note, however, relocatable objects may incorrectly presume
that the size of returned information is the same pre- and post-patch.
It is possible to determine the size of information returned. pstat
users can use the size return value of the system call to maintain
relocatable object compatibility and portability across the proposed
change. This is documented in the manpage.
pstat is not part of
an industry standard, but was designed to accommodate changes of
this nature while maintaining compatibility with earlier versions.