| 1 |
(* Copyright (C) 1999-2006 Henry Cejtin, Matthew Fluet, Suresh |
| 2 |
* Jagannathan, and Stephen Weeks. |
| 3 |
* Copyright (C) 1997-2000 NEC Research Institute. |
| 4 |
* |
| 5 |
* MLton is released under a HPND-style license. |
| 6 |
* See the file MLton-LICENSE for details. |
| 7 |
*) |
| 8 |
|
| 9 |
signature IO = |
| 10 |
sig |
| 11 |
exception Io of {name : string, |
| 12 |
function : string, |
| 13 |
cause : exn} |
| 14 |
exception BlockingNotSupported |
| 15 |
exception NonblockingNotSupported |
| 16 |
exception RandomAccessNotSupported |
| 17 |
exception ClosedStream |
| 18 |
datatype buffer_mode = NO_BUF | LINE_BUF | BLOCK_BUF |
| 19 |
end |