package lwt

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

Install

Dune Dependency

Authors

Maintainers

Sources

5.5.0.tar.gz
md5=94272fac89c5bf21a89c102b8a8f35a5
sha512=8951b94555e930634375816d71815b9d85daad6ffb7dab24864661504d11be26575ab0b237196c54693efa372a9b69cdc1d5068a20a250dc0bbb4a3c03c5fda1

doc/lwt.unix/Lwt_sys/index.html

Module Lwt_sys

System informations.

exception Not_available of string

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

type 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.

val have : feature -> bool

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

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

    Type of byte order

    *)
val byte_order : byte_order

The byte order used by the computer running the program.

val windows : bool
  • deprecated

    Use Sys.win32.

OCaml

Innovation. Community. Security.