package eio

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

Install

dune-project
 Dependency

Authors

Maintainers

Sources

eio-1.4.tbz
sha256=ba11ad486f492130dbb486f2b3bdc4905643f10016806ddf86e9a34e4346aaa5
sha512=57ef2c137ccdc26d8029e636b6a4ee92da7c6b2f35954946bd56ca595d6947a8ec42f6f83f8552f73d6719e6ce2314cae2e2fad1686a387522935e6f90e9a8d9

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

Module Eio_unix.PrivateSource

API for Eio backends only.

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.ty Eio.Std.r Effect.t
  4. | Pipe : Eio.Switch.t -> (source_ty Eio.Std.r * sink_ty Eio.Std.r) 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.

Sourcemodule Thread_pool : sig ... end

A pool of systhreads, to avoid the overhead of creating a new thread for each operation.

Sourceval chmod : Fd.t -> string -> flags:int -> mode:int -> unit
Sourceval chmod_unix : Unix.file_descr -> string -> flags:int -> mode:int -> unit
Sourceval chown : flags:int -> uid:int64 -> gid:int64 -> Fd.t -> string -> unit
Sourceval chown_unix : flags:int -> uid:int64 -> gid:int64 -> Unix.file_descr -> string -> unit
Sourceval getaddrinfo : service:string -> string -> Eio.Net.Sockaddr.t list
Sourceval setsockopt : Fd.t -> 'a Eio.Net.Sockopt.t -> 'a -> unit
Sourceval getsockopt : Fd.t -> 'a Eio.Net.Sockopt.t -> 'a