C/C++ Programmer's Guide (G06.27+, H06.03+)

Table Of Contents
Introduction to HP C and C++ for NonStop Systems
HP C/C++ Programmer’s Guide for NonStop Systems429301-010
1-12
TNS/E Native C and C++ Language System
With two file-reference models available, select the model whose I/O services best
suit the needs of application. For more details, see Section 4, Using the C Run-
Time Library.
Access to Guardian system procedures
You can call procedures in the Guardian system library using the cextdecs
header file in the Guardian environment or the cextdecs.h header file in the OSS
or PC environments.
Access to Open System Services system calls and library calls
Call routines that are part of the Open System Services library.
Access to procedures written in other languages
TNS programs can call procedures written in C, C++, TNS COBOL, FORTRAN,
D-series Pascal, and TAL. Native programs can call procedures written in C, C++,
native COBOL, and pTAL.
Access to a NonStop SQL/MP database or a NonStop SQL/MX database
TNS/R native C or C++ program can interface to a NonStop SQL/MP or NonStop
SQL/MX database using embedded SQL.
Fault-tolerant programs
Write fault-tolerant process pairs using the active backup programming model.
TNS/E Native C and C++ Language System
The TNS/E native C and C++ language system generates TNS/R and TNS/E native C
and C++ programs for the Guardian and OSS environments.
Components of this language system:
TNS/E Native C Compiler
TNS/E Native C++ Compiler on page 1-13
TNS/E Native C Run-Time Library on page 1-14
C++ Run-Time Library and Standard C++ Library on page 1-14
TNS/E Native Linker (eld Utility) on page 1-15
Optional components:
°
Native Inspect Symbolic Debugger on page 1-16
°
Visual Inspect Symbolic Debugger on page 1-16
°
NonStop SQL/MP Compiler and NonStop SQL/MX Compiler on page 1-17
°
TNS/E Native C and C++ Migration Tool on page 1-17