C/C++ Programmer's Guide (G06.25+)
Contents
HP C/C++ Programmer’s Guide for NonStop Systems—429301-008
v
7. Mixed-Language Programming for TNS
Programs (continued)
7. Mixed-Language Programming for TNS Programs (continued)
Interfacing to TAL (continued)
TAL Procedures That You Cannot Directly Call 7-12
Sharing Data 7-13
Variables and Parameters 7-17
Extended Data Segments 7-27
Interfacing to TNS COBOL 7-30
8. Mixed-Language Programming for TNS/R and TNS/E Native
Programs
Introducing the CRE 8-2
Using Standard Files in Mixed-language Programs 8-2
Declaring External Routines 8-2
Writing Interface Declarations 8-3
Using a Function Prototype and a FUNCTION Pragma 8-3
Using an Interface Declaration 8-3
Usage Guidelines 8-4
Examples 8-5
Considerations When Interfacing to pTAL 8-6
Using Identifiers 8-7
Matching Data Types 8-7
Calling C Routines From pTAL Modules 8-8
C Routines That You Cannot Call Directly 8-9
Calling pTAL Routines From C Modules 8-9
pTAL Procedures That You Cannot Call Directly 8-10
Sharing Data 8-12
Parameters and Variables
8-17
Differences Between Native and TNS Mixed-Language Programs
8-24
Data Models 8-25
Memory Models 8-25
_far Pointer Qualifier 8-25
Extended Data Segments 8-25
Interfacing to Native COBOL 8-26
9. System-Level Programming
Specifying a Code Space 9-1
Passing Pointers to Constants Between Code Spaces 9-2