Function: ftsi_puti Purpose: Write integer data to FITS tape. Category: FITS File: fts_io.c Author: Peter Roelfsema Use: INTEGER FTSI_PUTI ( MTID input INTEGER, ARRAY input INTEGER ( >ARRLEN ), ARRLEN ) input INTEGER. FTSI_PUTI returns: >= 0 : number of integers accepted, -10 : tape io error, -20 : no memory for iobuf available, MTID A device unit number as obtained from MTOPEN, ARRAY Source array of the data, ARRLEN Length of ARRAY, ARRLEN = 0 will result in the writing of a file mark indicating the end of the FITS file. Description: Fills tape with integers. The integers are checked to be in range as defined by bitpix. If not a BLANK is put on tape instead of the integer. Returned is the number of integers accepted for copy to tape or a negative number for an error indication. Updates: Jul 26, 1991: AdJ, more consistent return values. Aug 15, 1990: SS, document created.