package eio

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

Install

dune-project
 Dependency

Authors

Maintainers

Sources

eio-1.5.tbz
sha256=7d70d1f5fb2b7190bf1ab28fffeb272da51ffe6d6c9c7c94e0485fabdf3b3fda
sha512=4582ac2fb2f8616b3d8ae9670eb7913a78085899b14044408801b30a34fed6c4d32971ba72eedb0cbc3d82c057610cf81c482090e75e2985330fcde96478ac5e

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