Subroutine: CNVRTC Purpose: Converts bytes from foreign machines to the format supported by the current machine. Category: SYSTEM File: cnvrt.c Author: K.G. Begeman Use: CALL CNVRTC( INTYPE, Input INTEGER INBYTE, Input BYTE ARRAY OSBYTE, Output BYTE ARRAY NBYTES ) Input INTEGER INTYPE Type of input format. Can be 1 (VMS), 2 (UNIX), 3 (IBM), 4 (MSDOS,DECstations) or 5 (CONVEX). INBYTE Array of bytes which contains the foreign data. OSBYTE Array of bytes which contains the converted results. NBYTES Number of bytes to be converted. Warnings: Machine dependent! Currently implemented for VMS, SUN, CONVEX, ALLIANT, HP 9000 and MSDOS PC's. Updates: Jul 14, 1989: KGB, document created.