package lwt

  1. Overview
  2. Docs
Promises and event-driven I/O

Install

Dune Dependency

Authors

Maintainers

Sources

5.9.1.tar.gz
md5=18742da8b8fe3618e3fa700b7a884fe7
sha512=1c51fdb4d0856c89e2df08a1c0095ef28ebd0f613b07b03d0f66501ca5486515562071291e6d0932e57587ed0c9362c8b92c5c9eddb4d2bb2f5e129986b484a7

doc/lwt.unix/Lwt_sys/index.html

Module Lwt_sysSource

System informations.

Sourceexception Not_available of string

Not_available(feature) is an exception that may be raised when a feature is not available on the current system.

Sourcetype feature = [
  1. | `wait4
  2. | `get_cpu
  3. | `get_affinity
  4. | `set_affinity
  5. | `recv_msg
  6. | `send_msg
  7. | `fd_passing
  8. | `get_credentials
  9. | `mincore
  10. | `madvise
  11. | `fdatasync
  12. | `libev
]

Features that can be tested.

Sourceval have : feature -> bool

Test whether the given feature is available on the current system.

Sourcetype byte_order =
  1. | Little_endian
  2. | Big_endian
    (*

    Type of byte order

    *)
Sourceval byte_order : byte_order

The byte order used by the computer running the program.

Sourceval windows : bool
  • deprecated

    Use Sys.win32.

OCaml

Innovation. Community. Security.