package eio

  1. Overview
  2. Docs
Effect-based direct-style IO API for OCaml

Install

Dune Dependency

Authors

Maintainers

Sources

eio-0.9.tbz
sha256=cfbdf92e480063333f9c6ab234ee46aceeadb3209744c801cdf8a274b1997d99
sha512=410e334103a9ae9805c57ad12ca9726b0b74b82cca4477004521ccfcc7ddb0f63ec6f38fdd69728792d3dff1ab3f8ad990cd6b02b45f467cf492e2840941c669

doc/eio.unix/Eio_unix/Private/index.html

Module Eio_unix.PrivateSource

API for Eio backends only.

Sourcetype Eio.Generic.ty +=
  1. | Unix_file_descr : [ `Peek | `Take ] -> Unix.file_descr Eio.Generic.ty
    (*

    See FD.

    *)
Sourcetype Effect.t +=
  1. | Await_readable : Unix.file_descr -> unit Effect.t
  2. | Await_writable : Unix.file_descr -> unit Effect.t
  3. | Get_monotonic_clock : Eio.Time.Mono.t Effect.t
  4. | Socket_of_fd : Eio.Std.Switch.t * bool * Unix.file_descr -> socket Effect.t
    (*

    See FD.as_socket

    *)
  5. | Socketpair : Eio.Switch.t * Unix.socket_domain * Unix.socket_type * int -> (socket * socket) Effect.t
    (*

    See socketpair

    *)
  6. | Pipe : Eio.Switch.t -> (< Eio.Flow.source ; Eio.Flow.close ; unix_fd > * < Eio.Flow.sink ; Eio.Flow.close ; unix_fd >) Effect.t
    (*

    See pipe

    *)
Sourcemodule Rcfd : sig ... end

A safe wrapper around Unix.file_descr.

Sourcemodule Fork_action : sig ... end

Actions to perform after forking a child process.

OCaml

Innovation. Community. Security.