package eio_posix

  1. Overview
  2. Docs
Legend:
Library
Module
Module type
Parameter
Class
Class type

Fallback Eio backend for POSIX systems.

type stdenv = < stdin : < Eio.Flow.source ; Eio_unix.unix_fd > ; stdout : < Eio.Flow.sink ; Eio_unix.unix_fd > ; stderr : < Eio.Flow.sink ; Eio_unix.unix_fd > ; net : Eio.Net.t ; domain_mgr : Eio.Domain_manager.t ; clock : Eio.Time.clock ; mono_clock : Eio.Time.Mono.t ; fs : Eio.Fs.dir Eio.Path.t ; cwd : Eio.Fs.dir Eio.Path.t ; secure_random : Eio.Flow.source ; debug : Eio.Debug.t >

An extended version of Eio.Stdenv.t with some extra features available on POSIX systems.

val run : (stdenv -> 'a) -> 'a

run main runs an event loop and calls main stdenv inside it.

For portable code, you should use Eio_main.run instead, which will call this for you if appropriate.

module Low_level : sig ... end

Low-level API for making POSIX calls directly.

OCaml

Innovation. Community. Security.