| Standard ML Basis Library |
structure POSIX_Process =
struct
structure Sig = POSIX_Signal
structure W =
struct
datatype flags = WF of word
val fromWord
val toWord
val flags
val anySet
val allSet
val orF
val untraced
end
type word = SysWord.word
type s_int = SysInt.int
type signal = Sig.signal
datatype pid = PID of s_int
datatype waitpid_arg =
W_ANY_CHILD | W_CHILD of pid | W_SAME_GROUP | W_GROUP of pid
datatype killpid_arg = K_PROC of pid | K_SAME_GROUP | K_GROUP of pid
datatype exit_status =
W_EXITED
| W_EXITSTATUS of Word8.word
| W_SIGNALED of signal
| W_STOPPED of signal
val ++
val &
val pidToWord
val wordToPid
val cfun
val osval
val w_osval
val sysconf
val fork'
val fork
val exec
val exece
val execp
val waitpid'
val argToInt
val mkExitStatus
val wnohang
val waitpid
val waitpid_nh
val wait
val exit
val kill'
val kill
val alarm
val sleep
val pause
end
Type detail |
---|
type word = SysWord.word
type s_int = SysInt.int
type signal = Sig.signal
Datatype detail |
---|
datatype waitpid_arg =
W_ANY_CHILD | W_CHILD of pid | W_SAME_GROUP | W_GROUP of pid
datatype killpid_arg = K_PROC of pid | K_SAME_GROUP | K_GROUP of pid
datatype exit_status =
W_EXITED
| W_EXITSTATUS of Word8.word
| W_SIGNALED of signal
| W_STOPPED of signal
DataConstructor detail |
---|
constructor PID : s_int -> pid
constructor W_ANY_CHILD : waitpid_arg
constructor W_CHILD : pid -> waitpid_arg
constructor W_SAME_GROUP : waitpid_arg
constructor W_GROUP : pid -> waitpid_arg
constructor K_PROC : pid -> killpid_arg
constructor K_SAME_GROUP : killpid_arg
constructor K_GROUP : pid -> killpid_arg
constructor W_EXITED : exit_status
constructor W_EXITSTATUS : Word8.word -> exit_status
constructor W_SIGNALED : signal -> exit_status
constructor W_STOPPED : signal -> exit_status
Value detail |
---|
val ++
val &
val pidToWord
val wordToPid
val cfun
val osval
val w_osval
val sysconf
val fork'
val fork
val exec
val exece
val execp
val waitpid'
val argToInt
val mkExitStatus
val wnohang
val waitpid
val waitpid_nh
val wait
val exit
val kill'
val kill
val alarm
val sleep
val pause
| 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). |