Jump to content United States-English
HP.com Home Products and Services Support and Drivers Solutions How to Buy
» Contact HP
More options
HP.com home
Asynchronous Serial Communications Programmer's Reference Manual: HP 3000 MPE/iX Computer Systems

Chapter 3 Common Device Control Functions

» 

Technical documentation

Complete book in PDF
» Feedback
Content starts here

 » Table of Contents

 » Glossary

 » Index

This chapter describes some of the more common ways that intrinsics can be used to control asynchronous devices and includes sample code segments to demonstrate these uses. The segments are coded in Pascal/iX, but should be helpful regardless of the language you are using. While details of declaring and calling intrinsics vary between languages, the principles of their application do not. For more information on using intrinsics with FORTRAN 77/iX or COBOL II/iX you should see the MPE/iX Intrinsics Reference Manual as well as the reference manual for the individual language.

The following device control functions are described in this chapter:

  • Setting up access to a file and defining its characteristics through FOPEN.

  • Reading from an asynchronous device using FREAD.

  • Writing to an asynchronous device using FWRITE.

  • Manipulating device settings through FCONTROL calls.

  • Closing devicefiles using FCLOSE.

Printable version
Privacy statement Using this site means you accept its terms Feedback to webmaster
© Hewlett-Packard Development Company, L.P.