Museum

Home

Lab Overview

Retrotechnology Articles

⇒ Online Manual

Media Vault

Software Library

Restoration Projects

Artifacts Sought

bufferio(3F)

NAME

bufferin, bufferout, status − perform VOS-like asynchronous I/O

SYNOPSIS

subroutine bufferin (lunit,buffer,count,stat,n)
subroutine bufferout (lunit,buffer,count,stat,n)
subroutine status (lunit)
integer buffer(∗), count, stat

DESCRIPTION

These routines mimic the VOS-like asynchronous I/O functions BUFFERIN, BUFFEROUT, and STATUS. 

lunit must refer to an open logical unit.  buffer is an integer variable or array containing the data to be read or written.  count is the number of bytes to be transferred (and must be a multiple of 4).  stat will be set to operation status when       call status(lunit) is issued on the same logical unit number.  Values include:

<0 an error occurred
2 successful completion of I/O
3 End of File encountered on a bufferin operation
4 End of Tape (or disk full) on a bufferout operation

n is the number of bytes actually transferred. 

The variables buffer, count, and stat must be declared VOLATILE. 

FILES

/usr/lib/libI77.a

NOTES

When compiling source with the -Qocs option, an explicit underscore needs to be added to the end of the routine name. 

CX/UX Hf77 Fortran Reference Manual

Typewritten Software • bear@typewritten.org • Edmonds, WA 98026