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

  1. DEFINITION MODULE SRawIO;
  2.  
  3.   (* Reading and writing data over default 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 SYSTEM;
  8.  
  9. PROCEDURE Read (VAR to: ARRAY OF SYSTEM.LOC);
  10.   (* Reads storage units from the default input channel, and assigns them to successive
  11.      components of to.  The read result is set to the value allRight, wrongFormat, or
  12.      endOfInput.
  13.   *)
  14.  
  15. PROCEDURE Write (from: ARRAY OF SYSTEM.LOC);
  16.   (* Writes storage units to the default output channel from successive components of from.
  17.   *)
  18.  
  19. END SRawIO.
  20.  
  21.