B0_std.OsOperating system interaction.
module Path : sig ... endFile system path operations.
module File : sig ... endRegular file operations.
module Dir : sig ... endDirectory operations.
module Fd : sig ... endFile descriptors operations.
module Socket : sig ... endSocket operations.
module Env : sig ... endEnvironment variables.
module Cmd : sig ... endExecuting commands.
module Exit : sig ... endProgram exit.
val sleep : Mtime.Span.t -> Mtime.Span.tsleep dur sleeps for duration dur and returns the duration slept. The latter may be smaller than dur if the call was interrupted by a signal. This becomes imprecise if dur is greater than ~104 days.
relax sleeps for a very small duration. Can be used for relaxed busy waiting.
module Cpu : sig ... endCPU time and information.
module Mtime : sig ... endMonotonic time clock and sleep.
module Arch : sig ... endOS architectures.
val arch : unit -> Arch.tarch is the architecture of the operating system (which may differ from your CPU). It is determined by calling Arch.of_string with a string obtained as follows:
machine field returned by uname(2).GetNativeSystemInfo function and munges the wProcessorArchitecture field into a string."unknown".TODO. UNAME_MACHINE env override like uname on macos ?