module Lwt_sys: sig
.. end
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.
val windows : bool
true
iff running on windows.
type
feature = [ `fd_passing
| `get_affinity
| `get_cpu
| `get_credentials
| `madvise
| `mincore
| `recv_msg
| `send_msg
| `set_affinity
| `wait4 ]
Features that can be tested.
val have : feature -> bool
Test whether the given feature is available on the current
system.
type
byte_order =
| |
Little_endian |
| |
Big_endian |
val byte_order : byte_order
The byte order used by the computer running the program.