| Standard ML Basis Library |
structure PosixTextPrimIO : sig
include OS_PRIM_IO
val stdIn : unit -> PrimIO.reader
val stdOut : unit -> PrimIO.writer
val stdErr : unit -> PrimIO.writer
val strReader : string -> PrimIO.reader
end =
struct
structure PF = Posix.FileSys
structure BinPrimIO = PosixBinPrimIO
structure PrimIO = TextPrimIO
type file_desc = PF.file_desc
val bufferSzB
val translateIn
val translateOut
val openRd : string -> PrimIO.reader
val openWr : string -> PrimIO.writer
val openApp : string -> PrimIO.writer
val mkReader
: {fd : file_desc, name : string, initBlkMode : bool} -> PrimIO.reader
val mkWriter
: {
fd : file_desc,
name : string,
appendMode : bool,
initBlkMode : bool,
chunkSize : int
} ->
PrimIO.writer
val stdIn : unit -> PrimIO.reader
val stdOut : unit -> PrimIO.writer
val stdErr : unit -> PrimIO.writer
val strReader : string -> PrimIO.reader
end
Type detail |
---|
type file_desc = PF.file_desc
Value detail |
---|
val bufferSzB
val translateIn
val translateOut
val openRd : string -> PrimIO.reader
val openWr : string -> PrimIO.writer
val openApp : string -> PrimIO.writer
val mkReader
: {fd : file_desc, name : string, initBlkMode : bool} -> PrimIO.reader
val mkWriter
: {
fd : file_desc,
name : string,
appendMode : bool,
initBlkMode : bool,
chunkSize : int
} ->
PrimIO.writer
val stdIn : unit -> PrimIO.reader
val stdOut : unit -> PrimIO.writer
val stdErr : unit -> PrimIO.writer
val strReader : string -> PrimIO.reader
| Standard ML Basis Library |
This document may be distributed freely over the internet as long as the copyright notice and license terms below are prominently displayed within every machine-readable copy.
Copyright © 2003 AT&T and Lucent Technologies. All rights reserved.
Permission is granted for internet users to make one paper copy for their
own personal use. Further hardcopy reproduction is strictly prohibited.
Permission to distribute the HTML document electronically on any medium
other than the internet must be requested from the copyright holders by
contacting the editors.
Printed versions of the SML Basis Manual are available from Cambridge
University Press.
To order, please visit
www.cup.org (North America) or
www.cup.cam.ac.uk (outside North America). |