From 40e5a5811c6ffce9b0974e93cdd927cbcf60c157 Mon Sep 17 00:00:00 2001 From: Joe Hunkeler Date: Tue, 11 Aug 2015 16:51:37 -0400 Subject: Repatch (from linux) of OSX IRAF --- sys/mtio/zawrmt.x | 21 +++++++++++++++++++++ 1 file changed, 21 insertions(+) create mode 100644 sys/mtio/zawrmt.x (limited to 'sys/mtio/zawrmt.x') diff --git a/sys/mtio/zawrmt.x b/sys/mtio/zawrmt.x new file mode 100644 index 00000000..5caf2b70 --- /dev/null +++ b/sys/mtio/zawrmt.x @@ -0,0 +1,21 @@ +# Copyright(c) 1986 Association of Universities for Research in Astronomy Inc. + +include +include +include "mtio.h" + +# ZAWRMT -- MTIO asynchronous write primitive. Initiate a write of nbytes +# bytes to the tape. + +procedure zawrmt (mtchan, buf, nbytes, offset) + +int mtchan #I i/o channel +char buf[ARB] #I data to be written +int nbytes #I number of bytes of data +long offset #I file offset + +include "mtio.com" + +begin + call zzwrmt (MT_OSCHAN(mtchan), buf, nbytes, offset) +end -- cgit