package lwt

Build not yet checked
  1. Overview
  2. Docs
Promises and event-driven I/O

Install

dune-project
 Dependency

Authors

Maintainers

Sources

6.1.3.tar.gz
md5=41506fecd8e8840c4eb848a212de7ebf
sha512=b00d615d145f8a08aeb5c69967f9d43c3b67b88a416e2c93b33ca95a75198254e8d707bc76443480ead28e6889bc604d5ecb17d2d02cd7dc2a1e60d497aa9c24

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.