| Standard ML Basis Library |
structure Unix : UNIX =
struct
structure P = Posix.Process
structure PE = Posix.ProcEnv
structure PF = Posix.FileSys
structure PIO = Posix.IO
structure SS = Substring
datatype proc =
PROC of {pid : P.pid, ins : TextIO.instream, outs : TextIO.outstream}
val protect
val fdReader
val fdWriter
val openOutFD
val openInFD
val executeInEnv : string * string list * string list -> proc
val execute : string * string list -> proc
val streamsOf : proc -> TextIO.instream * TextIO.outstream
val kill : proc * Posix.Signal.signal -> unit
val reap : proc -> Posix.Process.exit_status
end
Datatype detail |
---|
datatype proc =
PROC of {pid : P.pid, ins : TextIO.instream, outs : TextIO.outstream}
DataConstructor detail |
---|
constructor PROC
: {pid : P.pid, ins : TextIO.instream, outs : TextIO.outstream} ->
proc
Value detail |
---|
val protect
val fdReader
val fdWriter
val openOutFD
val openInFD
val executeInEnv : string * string list * string list -> proc
val execute : string * string list -> proc
val streamsOf : proc -> TextIO.instream * TextIO.outstream
val kill : proc * Posix.Signal.signal -> unit
val reap : proc -> Posix.Process.exit_status
| 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). |