module Sys_info:sig
..end
Information about your operating system.
The module was introduced in order to skip certain unit tests on some platforms. But it might be useful for other purpose, too.
type
os =
| |
Windows |
| |
Android |
| |
Linux |
| |
Mac |
| |
Freebsd |
| |
Openbsd |
| |
Cygwin |
| |
Netbsd |
| |
Sun |
| |
Hp |
| |
Dragonfly |
| |
Aix |
| |
Minix |
| |
KFreebsd |
| |
Bsd |
| |
Unknown |
val os : os
Uwt_base.Sys_info.os
is determined at compile time (by the c compiler) and
might differ from the later OS
type
win_version = {
|
major_version : |
|
minor_version : |
|
build_number : |
|
platform_id : |
|
csd_version : |
val win_version : unit -> win_version Uwt_base.uv_result
Wrapper around RtlGetVersion. It will always return Error
ENOSYS
on non windows systems.