110928 CIO - Subroutine Library to do FCS I/O for DECUS C Compiler
Version: November 1990
Submitted by: Richard Tkatch, Computer Sciences Corp, Pomona, NJ
Operating System: RSX-11M-PLUS V2.1 Source Language: C, MACRO-11
Memory Required: 22KB Keywords: File Management
Abstract: CIO is a package of C and MACRO-11 subroutines to do general
purpose file I/O on a PDP-11 under RSX-11M-PLUS. The
package was developed and tested under RSX-11M-PLUS Version
2.1, but should be upward compatible since the standard FCS
MACROs were used to do the low level I/O.
Features
. Allows you to create files that are read compatible with
the DECUS C standard I/O routines.
. Allows you to create fixed length record files.
Sequential and random access are both supported. The
maximum record length supported at this time is 512 bytes.
. Allows you to create fixed length block files.
Sequential and random access are both supported. This is
the fastest type of I/O on the PDP because it is unbuffered.
Another feature of block oriented files is that it allows
you to read/write C structures from/to a file. The maximum
block size currently allowed is up to 32,760 bytes.
. Allows limited device independence for file I/O.
. Has the same type of support routines that standard I/O
library has. Following are some examples of these routines:
openf() == fopen()
closef() == fclose()
fprntf() == fprintf()
fscnf() == fscanf()
putcf() == fputc()
getcf() == fgetc()
writef() == write()
readf() == read()
Restrictions: DECUS C Compiler that supports I/D space split is
required. For a description
of this software see DECUS No. 11S105.
Media (Service Charge Code): One RX50 Diskette (JA) Format: FILES-11,
600' Magnetic Tape (MA) Format: FILES-11
The PDP-11 DECUS Software Index
The PDP-11 Home Page
Tim Shoppa
<shoppa@trailing-edge.com>
Created: December 26, 1998