package libc

  1. Overview
  2. Docs

Source file libc.ml

1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
module Impl = Libc_aarch64_apple_darwin
[@@config all (target_os = "macos", target_arch = "aarch64")]

module Impl = Libc_aarch64_apple_darwin
[@@config all (target_os = "macos", target_arch = "x86_64")]

module Impl = Libc_x86_64_unknown_freebsd
[@@config all (target_os = "freebsd", target_arch = "x86_64")]

module Impl = Libc_x86_64_linux_gnu
[@@config all (target_os = "linux", target_arch = "x86_64", target_env = "gnu")]

module Impl = Libc_x86_64_linux_musl
[@@config
  all (target_os = "linux", target_arch = "x86_64", target_env = "musl")]

module Impl = Libc_aarch64_linux_gnu
[@@config
  all (target_os = "linux", target_arch = "aarch64", target_env = "gnu")]

module Impl = Libc_aarch64_linux_musl
[@@config
  all (target_os = "linux", target_arch = "aarch64", target_env = "musl")]

include Impl
OCaml

Innovation. Community. Security.