package index

  1. Overview
  2. Docs
A platform-agnostic multi-level index for OCaml

Install

Dune Dependency

Authors

Maintainers

Sources

index-1.4.2.tbz
sha256=7dfd0632cbd7f167629ac635f94a510f4dcfa6cce7f1245ebe67ef43e0e1e290
sha512=51fae46d7bade9b1ffd07254fb7f9c0a8e4bfe72500c8b4e237d1c8d0e20745de96ce131a8432adbfd8629c152ea9b3341d5c1b66a00f27edc28cd17981ba0a4

doc/index.unix/Index_unix/Syscalls/index.html

Module Index_unix.SyscallsSource

Bindings to Unix system calls.

Sourceval pread : fd:Unix.file_descr -> fd_offset:Optint.Int63.t -> buffer:bytes -> buffer_offset:int -> length:int -> int

Reads up to length bytes from fd (starting at position fd_offset) into buffer (starting at position buffer_offset). Returns the number of bytes actually read. fd's cursor position is unchanged.

Sourceval pwrite : fd:Unix.file_descr -> fd_offset:Optint.Int63.t -> buffer:bytes -> buffer_offset:int -> length:int -> int

Writes up to length bytes from buffer (starting at position buffer_offset) to the file descriptor fd (starting at position fd_offset). Returns the number of bytes actually written. fd's cursor position is unchanged.

OCaml

Innovation. Community. Security.