package index

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

Install

Dune Dependency

Authors

Maintainers

Sources

index-1.3.1.tbz
sha256=c9c662fd314ba06465a12a6362a1f91421d63f77b28930880cb112127e629ee2
sha512=db22d6f986f9ea92c2b6c677c956cdbb8cab4cec57e2828f13560ebe6167a08d1f33332cf8a1a2cdc72cea77a3786d43365181d3fc0a90572fce6212f242836a

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:int64 -> 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:int64 -> 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.