Rational Developer for System z
Enterprise PL/I for z/OS, Version 4.1, Programming Guide

ILC with C

Equivalent data types
Simple type equivalence
Struct type equivalence
Enum type equivalence
File type equivalence
Using C functions
Matching simple parameter types
Matching string parameter types
Functions returning ENTRYs
Linkages
Sharing output and input
Sharing output
Sharing input
Using the ATTACH statement
Summary

This chapter describes some aspects of InterLanguage Communication (ILC) between PL/I and C. The examples illustrate how to use many of the data types common to both languages and should enable you to write PL/I code that either calls or is called by C.


Terms of use | Feedback

This information center is powered by Eclipse technology. (http://www.eclipse.org)