FileIO: adt
{
   read:   chan of (int, int, int, Rread);
   write:  chan of (int, array of byte, int, Rwrite);
};

Example 3: The FileIO ADT.

Back to Article