home *** CD-ROM | disk | FTP | other *** search
/ OS/2 Shareware BBS: 10 Tools / 10-Tools.zip / xc212os2.zip / ISODEF / rawio.def < prev    next >
Text File  |  1994-12-22  |  640b  |  19 lines

  1. DEFINITION MODULE RawIO;
  2.  
  3.   (* Reading and writing data over specified channels using raw operations, that is, with no
  4.      conversion or interpretation. The read result is of the type IOConsts.ReadResults.
  5.   *)
  6.  
  7. IMPORT IOChan, SYSTEM;
  8.  
  9. PROCEDURE Read (cid: IOChan.ChanId; VAR to: ARRAY OF SYSTEM.LOC);
  10.   (* Reads storage units from cid, and assigns them to successive components of to. The read
  11.      result is set to the value allRight, wrongFormat, or endOfInput.
  12.   *)
  13.  
  14. PROCEDURE Write (cid: IOChan.ChanId; from: ARRAY OF SYSTEM.LOC);
  15.   (* Writes storage units to cid from successive components of from. *)
  16.  
  17. END RawIO.
  18.  
  19.