uwt

libuv bindings
Library uwt-base
Module Uwt_base . Sys_info
type os =
| Windows
| Android
| Linux
| Mac
| Freebsd
| Openbsd
| Cygwin
| Netbsd
| Sun
| Hp
| Dragonfly
| Aix
| Minix
| KFreebsd
| Bsd
| Unknown
val os : os

os is determined at compile time (by the c compiler) and might differ from the later OS

type win_version = {
major_version : int;
minor_version : int;
build_number : int;
platform_id : int;
csd_version : string;
}
val win_version : unit -> win_version uv_result

Wrapper around RtlGetVersion. It will always return Error ENOSYS on non windows systems.