Function: MTWRITE Purpose: Writes data to a specified tape device. Category: TAPES File: mtiodev.c Author: K.G. Begeman Use: INTEGER MTWRITE( MTID, Input INTEGER DATA, Input INTEGER ARRAY NREQ ) Input INTEGER MTWRITE Returns: >0 : Number of bytes written. -1 : System error. -4 : Device not open. -9 : Call error. -10: Write protected. MTID Tape device id returned by MTOPEN. DATA Integer array containing data to be written. NREQ Wanted number of bytes to write. Warning: Code is System dependant! Updates: Jul 20, 1989: KGB, Document created.