package dkml-c-probe

  1. Overview
  2. Docs
Legend:
Library
Module
Module type
Parameter
Class
Class type

Enumerations of the operating system and the ABI, typically from an introspection of OCaml's native C compiler.

type t_os =
  1. | UnknownOS
  2. | Android
  3. | DragonFly
  4. | FreeBSD
  5. | IOS
  6. | Linux
  7. | NetBSD
  8. | OpenBSD
  9. | OSX
  10. | Windows
type t_abi =
  1. | Unknown_unknown
  2. | Android_arm32v7a
  3. | Android_arm64v8a
  4. | Android_x86
  5. | Android_x86_64
  6. | Darwin_arm64
  7. | Darwin_x86_64
  8. | DragonFly_x86_64
  9. | FreeBSD_x86_64
  10. | Linux_arm32v6
  11. | Linux_arm32v7
  12. | Linux_arm64
  13. | Linux_x86
  14. | Linux_x86_64
  15. | NetBSD_x86_64
  16. | OpenBSD_x86_64
  17. | Windows_arm32
  18. | Windows_arm64
  19. | Windows_x86
  20. | Windows_x86_64
val get_os : unit -> (t_os, string) result
val get_abi : unit -> (t_abi, string) result
val get_abi_name : unit -> (string, string) result
OCaml

Innovation. Community. Security.