Programmer's Guide to Writing Programs
Table of Contents
Index
Chapter 9: Mixed-language Programming
9.1 COBOL calling C functions
9.1.1 Calling C functions
9.1.2 Cancelling C Functions
9.1.3 Demonstration Program
9.2 Calling COBOL from C
9.2.1 Demonstration Programs
9.3 Interfacing with High-level Languages on UNIX
9.3.1 Routines That Enable COBOL to be Called From C
9.3.2 Routines that Enable Use of a C main()
9.3.3 Routines That Enable Use of C Threads
9.3.4 Environment Handling
9.3.5 Screen Handling from C
9.3.6 Terminal specific routines
9.3.7 Interfacing with the UNIX Operating System
9.3.8 Error and Exception Handling
9.3.9 Signal Handling
9.3.9.1 Posting Signal Handlers
9.3.9.2 Writing Signal Handlers
9.3.9.2.1 Example - setting up a handler for the SIGALRM signal
9.3.9.3 Coping with More than One Handler for the Same Signal
9.3.9.4 Converting Signal Handlers Written for the signal() Function
9.3.9.5 Coping with Third Party Software that Uses Signals
9.3.9.6 Comparing the Signal() and Sigaction() Functions