Module Posix_base

module System_detect : sig ... end

Large File Support

val needs_lfs : bool

true when -D_FILE_OFFSET_BITS=64 is needed to enable large file support. This is typically true on 32-bit systems and false on 64-bit systems where off_t is already 64 bits.

val c_flags : string list

C compiler flags for POSIX compatibility. Should be passed to C compilation commands.

Utilities modules to build ctypes bindings.

module Generators : sig ... end

Module used to define stubs generators. See: Posix_uname_stubs and Posix_uname_constants For some examples.

module Types : sig ... end

Module used to define generic types using their size. See Posix_types for an example.