C/C++ Programmer's Guide (G06.25+)
Introduction to HP C and C++ for NonStop Systems
HP C/C++ Programmer’s Guide for NonStop Systems—429301-008
1-2
C Run-Time Library
C Run-Time Library
The C run-time library contains the functions defined in the ISO/ANSI C standard as
well as several functions that are extensions to the standard. Macros that are not in the
library are expanded during the preprocessing phase of the compiler.
The Guardian C run-time library and the OSS C run-time library share the same set of
header files. Header files contain function prototypes and the variable and type
declarations used by the functions.
For the complete semantics and syntax of the C run-time library in the Guardian TNS C
environment, see the Guardian TNS C Library Calls Reference Manual. Use of TNS C
in the G-series OSS environment was discouraged after the D40 RVU and the OSS
TNS library calls are no longer completely documented. TNS C is not available in the
H-series OSS environment.
Binder
The Binder collects and links object files generated by the TNS C compiler and
produces an executable TNS object file (a program file).
Accelerator
The Accelerator enables you to run and increase the performance of programs on
TNS/R systems. The Accelerator optimizes TNS program files (compiled and bound
object files) to take advantage of the TNS/R architecture.
Object Code Accelerator (OCA)
The Object Code Accelerator (OCA) enables you to run and increase the performance
of programs that run on TNS/E systems. The OCA optimizes TNS program files
(compiled and bound object files) to take advantage of the TNS/E architecture.
Inspect Symbolic Debugger
The Inspect symbolic debugger is an interactive tool that enables you to identify and
correct programming errors in programs.You can use the Inspect debugger to:
•
Step through code
•
Set breakpoints
•
Display source
•
Display variables
For details on TNS program debugging capabilities, refer to the Inspect Manual and
the G-series Debug Manual.