.th rw III 4/21/86
.sh FILE
rw.mod
.sh DEFINES
.nf
PROCEDURE read(
	od:		integer;
	VAR buf:	ARRAY integer OF char;
	len:		UNIV cardinal
	):		integer;

PROCEDURE write(
	od:		integer;
	buf:		ARRAY integer OF char;
	len:		UNIV cardinal
	):		integer;

.fi
.sh "DESCRIPTION"
Read and write provide an interface to the Kernel calls
K_read_block(II) and K_write_block(II).  For a write operation, if the
last character of the buffer (defined by buf and len) is an ASCII LF,
an additional ASCII CR is output.  For a read, if the last character of
the buffer is an ASCII CR, it is changed to an ASCII LF.  Write simply
returns len as the number of characters written, whereas read returns
the actual number of characters read.
.sh USES
.nf
NKcalls.mod
.fi
.sh "INCLUDED BY"
.ta 20,40
ACP.mod	ACP_OP.mod	MNT.mod
SIP.mod	UMT.mod	btcp.mod
init.mod	mk_immdb.mod	pce.mod
pki.mod	test_lib.mod	udm_f.mod
.dt
