Module OgamlCore.OS

Provides some OS-relative data

This module provides some OS-relative data

type os = Windows | Linux | OSX
OS enumeration

Possible values

Windows
Linux
OSX
val os : os
OS on which this distribution of OGaml has been compiled
val resources_dir : string
Resources directory prefix. Prepend this to all the resource paths used by your program before producing an executable/application bundle.
val canonical_path : string -> string
[canonical_path p] returns the resolved path equivalent to [p]