| Standard ML Basis Library |
structure SysInfo : SYS_INFO =
struct
datatype os_kind = UNIX | WIN32 | MACOS | OS2 | BEOS
exception UNKNOWN
val getInfoStr
val sysInfo
val getFlag
val getOSName : unit -> string
val getOSKind : unit -> os_kind
val getOSVersion : unit -> string
val getHostArch : unit -> string
val getTargetArch : unit -> string
val hasSoftwarePolling : unit -> bool
val hasMultiprocessing : unit -> bool
val getHeapSuffix : unit -> string
end
Datatype detail |
---|
datatype os_kind = UNIX | WIN32 | MACOS | OS2 | BEOS
DataConstructor detail |
---|
constructor UNIX : os_kind
constructor WIN32 : os_kind
constructor MACOS : os_kind
constructor OS2 : os_kind
constructor BEOS : os_kind
Value detail |
---|
val getInfoStr
val sysInfo
val getFlag
val getOSName : unit -> string
val getOSKind : unit -> os_kind
val getOSVersion : unit -> string
val getHostArch : unit -> string
val getTargetArch : unit -> string
val hasSoftwarePolling : unit -> bool
val hasMultiprocessing : unit -> bool
val getHeapSuffix : unit -> string
Exception detail |
---|
exception UNKNOWN
| 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). |