This appendix contains programming examples to illustrate the use of
operating system architected interfaces.
Examples one and two illustrate using AIF:OS system calls to send
and receive data. These two examples are written in HP C/iX.
Examples three and four illustrate using AIF:OS system calls with
asynchronous ports. These two examples are written in HP Pascal.
Example five illustrates using AIFSYSWIDEGET for retrieving
HFS pathnames. This example is written in HP Pascal.
Example six illustrates using AIFSYSWIDEGET for traversing
HFS directories.
Example seven illustrates using the Magneto-Optical AIF's.
This example is written in HP Pascal.