HP C/iX Library Reference Manual (30026-90004)
Appendix C 381
System-Dependent Information
C System-Dependent Information
This appendix briefly summarizes the differences between the HP C/iX library as it is
implemented on HP 3000 Series 900 computers and HP 9000 Series 700/800 computers.
Because the HP 9000 Series 700/800 are UNIX-based systems, the summary of differences
given will usually apply to other UNIX-based systems as well. Refer to chapter 5 for
detailed descriptions of the HP C/iX library functions. Refer to the HP C/HP-UX Reference
Manual for complete descriptions of the HP C/HP-UX functions.
Additional differences between POSIX/iX library functions and HP C/HP-UX library
functions are described in the MPE/iX Developer's Kit Reference Manual.
This appendix is organized alphabetically by function name. For each function, a
description of the behavior on both systems is provided.
abort
HP 9000 Series 700/800: The abort function sends a signal to the calling process to
terminate it. If this signal is caught or ignored, abort returns without
terminating the process. If this signal is neither caught nor ignored, a core
dump is produced and a message is issued.
HP 3000 Series 900: The abort function uses the QUIT intrinsic to terminate a process.
This always results in process termination. No core dump is produced.
access
HP 9000 Series 700/800: The following
amode
parameter bit pattern is supported:
01 execute (
search
)
This option checks whether a file may be executed.
HP 3000 Series 900: The execute
amode
parameter bit pattern is not supported.
brk and sbrk
HP 9000 Series 700/800: Newly allocated space obtained from brk and sbrk is set to
zero.
HP 3000 Series 900: Newly allocated space obtained from brk and sbrk is not set to zero.
malloc
HP 9000 Series 700/800: The default memory allocation package provided in the C
library is not the fast memory allocation package. This package is known
as the malloc(3C) package.
HP 3000 Series 900: The memory allocation package provided in the C library is the fast
memory allocation package. This package is known as the malloc(3X)
package on the HP 9000 Series 700/800. It is available on HP 9000 Series
700/800 by using the -lmalloc linker option.
mktemp
HP 9000 Series 700/800: The string of X's in the argument to mktemp are replaced by the