home *** CD-ROM | disk | FTP | other *** search
/ OS/2 Shareware BBS: 10 Tools / 10-Tools.zip / modu1096.zip / ISOsym / rawio.def < prev    next >
Text File  |  1996-08-29  |  677b  |  22 lines

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